Fix
[redakcja.git] / redakcja / static / js / wiki / dialog_save.js
index 916f326..903c0e1 100644 (file)
@@ -11,7 +11,6 @@
                /* fill out hidden fields */
                this.$form = $('form', element);
 
-               $("input[name='textsave-id']", this.$form).val(CurrentDocument.id);
                $("input[name='textsave-parent_revision']", this.$form).val(CurrentDocument.revision);
 
                $.wiki.cls.GenericDialog.call(this, element);
                        var self = this;
 
                        self.$elem.block({
-                               message: "Zapisywanie...",
+                               message: "Zapisywanie... <br/><button id='save-hide'>ukryj</button>",
                                fadeIn: 0,
                        });
+            $.wiki.blocking = self.$elem;
 
                        try {