Merge branch 'img-playground' of ssh://git.nowoczesnapolska.org.pl:2223/~/repo/redakc...
authorLibrary Admin <librarian@szo.nowoczesnapolska.org.pl>
Mon, 9 Sep 2013 14:37:46 +0000 (16:37 +0200)
committerLibrary Admin <librarian@szo.nowoczesnapolska.org.pl>
Mon, 9 Sep 2013 14:37:46 +0000 (16:37 +0200)
lib/librarian
redakcja/static/js/lib/jquery/jquery.imgareaselect.js
redakcja/static/js/wiki_img/wikiapi.js

index 5b40766..5fed788 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 5b407667ca47cf4d9752821fd49e5611737146d2
+Subproject commit 5fed78856949474a36bc5e268517775a9a802e27
index d981fdc..cb31eef 100644 (file)
@@ -39,13 +39,13 @@ $.imgAreaSelect = function (img, options) {
 
         left, top,
 
-        imgOfs,
+        imgOfs = { left: 0, top: 0 },
 
         imgWidth, imgHeight,
 
         $parent,
 
-        parOfs,
+        parOfs = { left: 0, top: 0 },
 
         zIndex = 0,
 
index 219f53f..81cd316 100644 (file)
             $sem.append($div);
             $root.append($sem);
         });
-        self.setText(XML(serializer.serializeToString(doc)).toXMLString());
+        self.setText(serializer.serializeToString(doc));
     }