Author: andre
Date: 2009-06-25 15:37:56 +0200 (Thu, 25 Jun 2009)
New Revision: 36409

Modified:
   openimages/trunk/src/main/webapp/style/js/mmajaxeditor.js
Log:
added a few lines to reload the original document



Modified: openimages/trunk/src/main/webapp/style/js/mmajaxeditor.js
===================================================================
--- openimages/trunk/src/main/webapp/style/js/mmajaxeditor.js   2009-06-25 
13:29:31 UTC (rev 36408)
+++ openimages/trunk/src/main/webapp/style/js/mmajaxeditor.js   2009-06-25 
13:37:56 UTC (rev 36409)
@@ -67,7 +67,6 @@
 MMAjaxeditor.prototype.bindFormEvents = function() {
        // bind save with form plugin
        var options = { target: this.div, success: this.afterSubmit };
-    //console.log(this.div + " , " + options);
     $(this.div).find("form").ajaxForm(options);
        
        if (typeof MMBaseValidator == "function") {
@@ -93,7 +92,6 @@
             var anchor = ev.target;
             new MMAjaxeditor(anchor);
         });
-        //deleteWarnings();   // function in other js file !!
     });
 }
 
@@ -116,7 +114,10 @@
         var anchor = ev.target;
                new MMAjaxeditor(anchor);
     });
-    //deleteWarnings();   // function in other js file !!
+    
+    var doc = this.ownerDocument;
+    var loc = doc.location;
+    doc.location = loc;
 }
 
 /*

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to