diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-20 18:44:19 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-04-20 18:44:19 +0000 |
| commit | ad10584dc1ba40aa045ece4db3e09dfc3ec8039c (patch) | |
| tree | 4dfe6bd847473ba96d314e86c2535e2781a23037 /modules/organize/views/organize.html.php | |
| parent | e8d99f22a1605c47bf2e83cf02a548c5e5c2c87e (diff) | |
1) Add rearrange processing as a task
2) Improved drop location determination
3) Add a revert if dropped on an invalid target
4) Add a popup dialog to display ajax errors
Still to do progress bar, pause/continue and status messages
Diffstat (limited to 'modules/organize/views/organize.html.php')
| -rw-r--r-- | modules/organize/views/organize.html.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/organize/views/organize.html.php b/modules/organize/views/organize.html.php index 6b9eb3c6..c2b2070e 100644 --- a/modules/organize/views/organize.html.php +++ b/modules/organize/views/organize.html.php @@ -1,8 +1,10 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <!-- ?= html::script("modules/organize/js/organize.js") ? --> <script> + 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") ?>"; $("#doc3").ready(function() { organize_dialog_init(); }); |
