mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Return Deferred promise when app handles the link, avoids error Cannot read property 'promise' of undefined
This commit is contained in:
parent
0f6c23a5e0
commit
741e6e02af
@ -136,7 +136,7 @@ var fw_browser = Class.extend({
|
||||
{
|
||||
var ret = window.app[this.app.appName].linkHandler.call(window.app[this.app.appName], _url);
|
||||
{
|
||||
if (ret === true) return;
|
||||
if (ret === true) return this.loadingDeferred.promise();
|
||||
if (typeof ret === 'string')
|
||||
{
|
||||
_url = ret;
|
||||
|
Loading…
Reference in New Issue
Block a user