mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-30 18:49:08 +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);
|
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')
|
if (typeof ret === 'string')
|
||||||
{
|
{
|
||||||
_url = ret;
|
_url = ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user