summaryrefslogtreecommitdiff
path: root/modules/developer/js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-15 19:27:30 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-15 19:27:30 +0000
commit6ac6c6a7e0824d8fda81e36240818f9b7e9c4696 (patch)
treea5ad572c446667f8ab5fef3d2e0c6b63043344c2 /modules/developer/js
parent7c5ba9d4229a6e3c258f6a80769e70c5dcd68578 (diff)
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.
Diffstat (limited to 'modules/developer/js')
-rw-r--r--modules/developer/js/developer.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/developer/js/developer.js b/modules/developer/js/developer.js
index 4d60b5da..78a95af4 100644
--- a/modules/developer/js/developer.js
+++ b/modules/developer/js/developer.js
@@ -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();
};