From: zuber Date: Mon, 25 Jan 2010 22:26:43 +0000 (+0100) Subject: FIX: Zmiany wykonane w edytorze XML były ignorowane. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/6f02e7672f06818752ac466496e1b1596f75e4f9 FIX: Zmiany wykonane w edytorze XML były ignorowane. --- diff --git a/platforma/static/js/main.js b/platforma/static/js/main.js index 2c20b9ca..edd82e35 100644 --- a/platforma/static/js/main.js +++ b/platforma/static/js/main.js @@ -678,7 +678,7 @@ $(function() { }) } - if ('#simple-view-tab.active') { + if ($('#simple-view-tab').hasClass('active')) { reverseTransform(editor, doSave); } else { doSave();