mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-09 01:24:07 +01: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 (app.isDefault && (app.isDefault === true) && (restore.length == 0))
|
||||
if (app.isDefault && (app.isDefault === true) && (restore_count === 0))
|
||||
{
|
||||
defaultApp = this.appData;
|
||||
}
|
||||
@ -137,7 +137,7 @@ var fw_base = Class.extend({
|
||||
}
|
||||
|
||||
// else display the default application
|
||||
if (defaultApp && restore_count == 0)
|
||||
if (defaultApp && restore_count === 0)
|
||||
{
|
||||
restore[defaultApp.appName] = mkRestoreEntry(defaultApp, 0, null, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user