mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 09:38:53 +01:00
Return Deferred promise when app handles the link, avoids error Cannot read property 'promise' of undefined
This commit is contained in:
parent
b4dce8b7f4
commit
30c7669588
@ -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