1) Refactor the ajax calls so that the code is reused across multipl

request types.
2) Enable/Disable the drawer handle buttons depending on the number of
items selcted
3) Image rotation works.
This commit is contained in:
Tim Almdal
2009-04-28 21:29:14 +00:00
parent 1596c9f3da
commit 12d976b94d
5 changed files with 224 additions and 172 deletions

View File

@@ -5,12 +5,7 @@
var PAUSE_BUTTON = "<?= t("Pause") ?>";
var RESUME_BUTTON = "<?= t("Resume") ?>";
var CANCEL_BUTTON = "<?= t("Cancel") ?>";
var OPERATION_RUNNING = "<?= t("Operation in Progress") ?>";
var INVALID_DROP_TARGET = "<div class=\"gError\"><?= t("Drop cancelled as it would result in a recursive move") ?></div>";
var MOVE_PAUSED = "<div class=\"gWarning\"><?= t("The move operation was paused") ?></div>";
var MOVE_RESUMED = "<div class=\"gWarning\"><?= t("The move operation was resumed") ?></div>";
var REARRANGE_PAUSED = "<div class=\"gWarning\"><?= t("The rearrange operation was paused") ?></div>";
var REARRANGE_RESUMED = "<div class=\"gWarning\"><?= t("The rearrange operation was resumed") ?></div>";
var item_id = <?= $item->id ?>;