[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:
Géry Debongnie
2017-10-20 17:14:10 +02:00
parent dd2a619ad5
commit fd65dbaa1f
+1 -1
View File
@@ -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