summaryrefslogtreecommitdiff
path: root/modules/organize
diff options
context:
space:
mode:
Diffstat (limited to 'modules/organize')
-rw-r--r--modules/organize/js/organize.js16
-rw-r--r--modules/organize/views/organize_dialog.html.php2
2 files changed, 9 insertions, 9 deletions
diff --git a/modules/organize/js/organize.js b/modules/organize/js/organize.js
index cfaff01c..bee42a22 100644
--- a/modules/organize/js/organize.js
+++ b/modules/organize/js/organize.js
@@ -138,19 +138,19 @@
var self = this;
// Deal with ui.jquery bug: http://dev.jqueryui.com/ticket/4475 (target 1.8?)
$(".sf-menu li.sfHover ul").css("z-index", 68);
- $("#gDialog").dialog("option", "zIndex", 70);
- $("#gDialog").bind("dialogopen", function(event, ui) {
- $("#gOrganize").height($("#gDialog").innerHeight() - 20);
- $("#gOrganizeMicroThumbPanel").height($("#gDialog").innerHeight() - 90);
- $("#gOrganizeTreeContainer").height($("#gDialog").innerHeight() - 59);
+ $("#g-dialog").dialog("option", "zIndex", 70);
+ $("#g-dialog").bind("dialogopen", function(event, ui) {
+ $("#gOrganize").height($("#g-dialog").innerHeight() - 20);
+ $("#gOrganizeMicroThumbPanel").height($("#g-dialog").innerHeight() - 90);
+ $("#gOrganizeTreeContainer").height($("#g-dialog").innerHeight() - 59);
});
- $("#gDialog").bind("dialogclose", function(event, ui) {
+ $("#g-dialog").bind("dialogclose", function(event, ui) {
window.location.reload();
});
- $("#gDialog #gOrganizeClose").click(function(event) {
- $("#gDialog").dialog("close");
+ $("#g-dialog #gOrganizeClose").click(function(event) {
+ $("#g-dialog").dialog("close");
});
$("#gOrganizeSortColumn,#gOrganizeSortOrder").change(function(event) {
diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php
index 87f12be9..09720fe4 100644
--- a/modules/organize/views/organize_dialog.html.php
+++ b/modules/organize/views/organize_dialog.html.php
@@ -5,7 +5,7 @@
var sort_order_url = "<?= url::site("organize/sort_order/__ALBUM_ID__/__COL__/__DIR__?csrf=$csrf") ?>";
var tree_url = "<?= url::site("organize/tree/__ALBUM_ID__") ?>";
</script>
-<div id="gOrganize" class="gDialogPanel">
+<div id="gOrganize" class="g-dialogPanel">
<h1 style="display:none"><?= t("Organize %name", array("name" => html::purify($album->title))) ?></h1>
<div id="bd">
<div class="yui-gf">