smartxml: Document.transaction success callback
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Mon, 24 Mar 2014 14:09:43 +0000 (15:09 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 28 Mar 2014 15:22:12 +0000 (16:22 +0100)
src/smartxml/smartxml.js

index 35c5299..c23e06d 100644 (file)
@@ -597,6 +597,9 @@ $.extend(Document.prototype, Backbone.Events, {
             return;
         }
         this.endTransaction();
+        if(params.success) {
+            params.success(toret);
+        }
         return toret;
     },