mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02:00
Use restore_count variable instead of non-existing length attribute, maybe helps with framework loading.
This commit is contained in:
parent
18db7daa09
commit
eb9289f441
@ -114,7 +114,7 @@ var fw_base = Class.extend({
|
|||||||
}
|
}
|
||||||
|
|
||||||
//If this entry is the default entry, show it using the click callback
|
//If this entry is the default entry, show it using the click callback
|
||||||
if (app.isDefault && (app.isDefault === true) && (restore.length == 0))
|
if (app.isDefault && (app.isDefault === true) && (restore_count === 0))
|
||||||
{
|
{
|
||||||
defaultApp = this.appData;
|
defaultApp = this.appData;
|
||||||
}
|
}
|
||||||
@ -137,7 +137,7 @@ var fw_base = Class.extend({
|
|||||||
}
|
}
|
||||||
|
|
||||||
// else display the default application
|
// else display the default application
|
||||||
if (defaultApp && restore_count == 0)
|
if (defaultApp && restore_count === 0)
|
||||||
{
|
{
|
||||||
restore[defaultApp.appName] = mkRestoreEntry(defaultApp, 0, null, 1);
|
restore[defaultApp.appName] = mkRestoreEntry(defaultApp, 0, null, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user