mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-05 03:09:08 -04:00
Updates to the developer tool create module.
It now creates a fully functional sidebar block, a dialog pop up on the option menu for albums or photos, a dashboard block and an admin screen.
This commit is contained in:
@@ -9,7 +9,6 @@ var module_success = function(data) {
|
||||
var task = data.task;
|
||||
var url = data.url;
|
||||
var done = false;
|
||||
var counter = 0;
|
||||
while (!done) {
|
||||
$.ajax({async: false,
|
||||
success: function(data, textStatus) {
|
||||
@@ -20,7 +19,6 @@ var module_success = function(data) {
|
||||
type: "POST",
|
||||
url: url
|
||||
});
|
||||
done = done || ++counter >= 10;
|
||||
}
|
||||
document.location.reload();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user