FIX: Zmiany wykonane w edytorze XML były ignorowane.
authorzuber <marek@stepniowski.com>
Mon, 25 Jan 2010 22:26:43 +0000 (23:26 +0100)
committerzuber <marek@stepniowski.com>
Mon, 25 Jan 2010 22:26:43 +0000 (23:26 +0100)
platforma/static/js/main.js

index 2c20b9c..edd82e3 100644 (file)
@@ -678,7 +678,7 @@ $(function() {
                     })
                 }
                 
                     })
                 }
                 
-                if ('#simple-view-tab.active') {
+                if ($('#simple-view-tab').hasClass('active')) {
                     reverseTransform(editor, doSave);
                 } else {
                     doSave();
                     reverseTransform(editor, doSave);
                 } else {
                     doSave();