readable error message for no image dir
[redakcja.git] / redakcja / static / js / wiki / dialog_save.js
index 916f326..aa9258d 100644 (file)
                        var self = this;
 
                        self.$elem.block({
                        var self = this;
 
                        self.$elem.block({
-                               message: "Zapisywanie...",
+                               message: "Zapisywanie... <br/><button id='save-hide'>ukryj</button>",
                                fadeIn: 0,
                        });
                                fadeIn: 0,
                        });
+            $.wiki.blocking = self.$elem;
 
                        try {
 
 
                        try {