[FIX] web: session.get_file should return a value
The session get_file method should return the value from the ajax.get_file method, otherwise we lose information (this is necessary to be able to react properly to the fact that the download was blocked)
This commit is contained in:
@@ -273,7 +273,7 @@ var Session = core.Class.extend(mixins.EventDispatcherMixin, {
|
||||
options.data.session_id = this.session_id;
|
||||
}
|
||||
options.session = this;
|
||||
ajax.get_file(options);
|
||||
return ajax.get_file(options);
|
||||
},
|
||||
/**
|
||||
* (re)loads the content of a session: db name, username, user id, session
|
||||
|
||||
Reference in New Issue
Block a user