diff options
author | Nathan Kinkade <nkinkade@nkinka.de> | 2010-02-02 16:32:09 +0000 |
---|---|---|
committer | Nathan Kinkade <nkinkade@nkinka.de> | 2010-02-02 16:32:09 +0000 |
commit | 92d211bae653b6c94e0038b1a47734a1acaa149e (patch) | |
tree | f64ab531be992954561bf78526743b28e294ff8f | |
parent | 2c9812314af8418b82905fed9c5efeb8171cd32f (diff) | |
parent | aa2e4de024a985f16beb8c1ad90daf0e668d2e28 (diff) |
Merge branch 'master' of git://github.com/gallery/gallery3
-rw-r--r-- | lib/gallery.in_place_edit.js | 5 | ||||
-rw-r--r-- | modules/g2_import/helpers/g2_import_task.php | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lib/gallery.in_place_edit.js b/lib/gallery.in_place_edit.js index 681688e5..c10400e3 100644 --- a/lib/gallery.in_place_edit.js +++ b/lib/gallery.in_place_edit.js @@ -10,6 +10,10 @@ }, _show: function(target) { + if ($(this).data("gallery_in_place_edit") == true) { + return; + } + $(this).data("gallery_in_place_edit", true); var self = this; var tag_width = $(target).width(); $(self).data("tag_width", tag_width); @@ -42,6 +46,7 @@ $(parent).find("form").remove(); $(parent).children().show(); $("#g-in-place-edit-message").remove(); + $(this).data("gallery_in_place_edit", false); }, _ajaxify_edit: function() { diff --git a/modules/g2_import/helpers/g2_import_task.php b/modules/g2_import/helpers/g2_import_task.php index 21ba4c3a..e0212b33 100644 --- a/modules/g2_import/helpers/g2_import_task.php +++ b/modules/g2_import/helpers/g2_import_task.php @@ -189,7 +189,7 @@ class g2_import_task_Core { } $task->status = t( "Album highlights (%count of %total)", - array("count" => $done["tags"] + 1, "total" => $stats["albums"])); + array("count" => $done["highlights"] + 1, "total" => $stats["highlights"])); break; |