extract scripts
This commit is contained in:
@@ -169,7 +169,11 @@
|
||||
Dashboard.hideLoadingMsg();
|
||||
}
|
||||
|
||||
$(document).on('pageshowready', "#addPluginPage", function () {
|
||||
$(document).on('pageinitdepends', "#addPluginPage", function () {
|
||||
|
||||
$('.addPluginForm').off('submit', AddPluginPage.onSubmit).on('submit', AddPluginPage.onSubmit);
|
||||
|
||||
}).on('pageshowready', "#addPluginPage", function () {
|
||||
|
||||
var page = this;
|
||||
|
||||
@@ -188,7 +192,6 @@
|
||||
|
||||
});
|
||||
|
||||
|
||||
}).on('pagebeforeshow pageinit pageshow', "#addPluginPage", function () {
|
||||
|
||||
// This needs both events for the helpurl to get done at the right time
|
||||
|
||||
Reference in New Issue
Block a user