Dragging from the thumbgrid to an album in the tree now works.

Refactored the javascript to minimize duplication.
This commit is contained in:
Tim Almdal
2009-04-22 16:09:57 +00:00
parent f9ec5d6de4
commit 475b8fe9ff
6 changed files with 223 additions and 65 deletions

View File

@@ -4,7 +4,7 @@
var FATAL_ERROR = "<?= t("Fatal Error") ?>";
var item_id = <?= $item->id ?>;
var csrf = "<?= $csrf ?>";
var rearrangeUrl = "<?= url::site("__URI__/{$item->id}__TASK_ID__?csrf=$csrf") ?>";
var rearrangeUrl = "<?= url::site("__URI__/__ITEM_ID____TASK_ID__?csrf=$csrf") ?>";
$("#doc3").ready(function() {
organize_dialog_init();
});