X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f938afb8ab4cb091d12e0ef0311eaea14b774798..f469680f323a7a4c9cfe894b5af13d4357f7bca4:/redakcja/static/js/wiki/dialog_save.js?ds=inline

diff --git a/redakcja/static/js/wiki/dialog_save.js b/redakcja/static/js/wiki/dialog_save.js
index 916f3260..903c0e1c 100644
--- a/redakcja/static/js/wiki/dialog_save.js
+++ b/redakcja/static/js/wiki/dialog_save.js
@@ -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);
@@ -28,9 +27,10 @@
 			var self = this;
 
 			self.$elem.block({
-				message: "Zapisywanie...",
+				message: "Zapisywanie... <br/><button id='save-hide'>ukryj</button>",
 				fadeIn: 0,
 			});
+            $.wiki.blocking = self.$elem;
 
 			try {