LABjs wait to initialize actions until all files are there

This commit is contained in:
Nathan Gray 2013-04-02 20:31:22 +00:00
parent 16a1970cca
commit e8c9a1ecde

View File

@ -909,7 +909,7 @@ class nextmatch_widget
return '
<script type="text/javascript">
$j(document).ready(function() {
egw.LAB.wait(function() {$j(document).ready(function() {
// Initialize the action manager and add some actions to it
var actionManager = egw_getActionManager("'.$app.'");
var objectManager = egw_getObjectManager("'.$app.'");
@ -938,7 +938,7 @@ class nextmatch_widget
obj.updateActionLinks(actionLinks);
}
});
});
})});
</script>';
}