diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-02-24 22:52:32 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-02-24 22:52:32 -0800 |
commit | 443e49b2ae88545f5a56842f2283f4f98dc7b65f (patch) | |
tree | 3c06891e91602c9ed0997ac07bafafeb758e7f66 /lib/gallery.dialog.js | |
parent | 8437a85ac87f8fc6b4ee420bde59eda683140063 (diff) |
Revert overeager escaping introduced in
https://github.com/gallery/gallery3/commit/bb35aefffbc287efc9823abd4b0e451b86c37378
in an attempt to resolve #797.
Fixes #1640.
Diffstat (limited to 'lib/gallery.dialog.js')
-rw-r--r-- | lib/gallery.dialog.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js index ec187186..087b00ab 100644 --- a/lib/gallery.dialog.js +++ b/lib/gallery.dialog.js @@ -48,7 +48,7 @@ var content = ""; if (mimeType[1] == "application/json") { data = JSON.parse(data); - content = unescape(data.html); + content = data.html; } else { content = data; } @@ -160,7 +160,7 @@ } if (data.html) { - $("#g-dialog").html(unescape(data.html)); + $("#g-dialog").html(data.html); $("#g-dialog").dialog("option", "position", "center"); $("#g-dialog form :submit").removeClass("ui-state-disabled") .attr("disabled", null); |