summaryrefslogtreecommitdiff
path: root/lib/gallery.dialog.js
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2013-02-27 09:14:01 -0800
committerBharat Mediratta <bharat@menalto.com>2013-02-27 09:14:01 -0800
commit5bf05002717fd68828d1c6c383e53cc4c41b856a (patch)
tree69ef5ecbf8eb50260fa506ee924edb205259fcad /lib/gallery.dialog.js
parent857cf537b0e04eb60da3d2d2778220308b2b5c3c (diff)
parentea4622f72635900d8ca33f2ff48848d6a35e9894 (diff)
Merge pull request #170 from shadlaws/fix_2022
#2022 - Fix handling of watermark dialog errors.
Diffstat (limited to 'lib/gallery.dialog.js')
-rw-r--r--lib/gallery.dialog.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js
index e9f4aa03..8fe85165 100644
--- a/lib/gallery.dialog.js
+++ b/lib/gallery.dialog.js
@@ -137,13 +137,6 @@
},
success: function(data) {
if (data.html) {
- if (data.result == "error") {
- // This is an odd case that arises from the watermarks module. This is because we
- // have a fake xhr, and we rawurlencode the results because the JS code that uploads
- // the file buffers it in an iframe which entitizes the HTML and makes it difficult
- // for the JS to process. See ticket #797.
- data.html = unescape(data.html);
- }
$("#g-dialog").html(data.html);
$("#g-dialog").dialog("option", "position", "center");
$("#g-dialog form :submit").removeClass("ui-state-disabled")