From 7f9af70a71bb161936758622d731d989771d5e1a Mon Sep 17 00:00:00 2001 From: Michael Baas Date: Mon, 14 Sep 2015 12:02:43 +0200 Subject: [PATCH] Update verify.notify.js I'm using verifyjs in forms styled with Bootstrap. Just had a case where the error-msg for a SELECT-Control was hidden behind some other form-elements. Editing verify.notify.js and changing all z-index-definitions in line 59 to 1050 fixed the problem for me. I hope this fix is general enough... --- dist/verify.notify.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/verify.notify.js b/dist/verify.notify.js index 11ce621..ecc290f 100644 --- a/dist/verify.notify.js +++ b/dist/verify.notify.js @@ -56,7 +56,7 @@ styles = {}; coreStyle = { name: 'core', html: "
\n
\n
\n
", - css: "." + pluginClassName + "-corner {\n position: fixed;\n margin: 5px;\n z-index: 1050;\n}\n\n." + pluginClassName + "-corner ." + pluginClassName + "-wrapper,\n." + pluginClassName + "-corner ." + pluginClassName + "-container {\n position: relative;\n display: block;\n height: inherit;\n width: inherit;\n margin: 3px;\n}\n\n." + pluginClassName + "-wrapper {\n z-index: 1;\n position: absolute;\n display: inline-block;\n height: 0;\n width: 0;\n}\n\n." + pluginClassName + "-container {\n display: none;\n z-index: 1;\n position: absolute;\n cursor: pointer;\n}\n\n." + pluginClassName + "-text {\n position: relative;\n}\n\n." + pluginClassName + "-arrow {\n position: absolute;\n z-index: 2;\n width: 0;\n height: 0;\n}" + css: "." + pluginClassName + "-corner {\n position: fixed;\n margin: 5px;\n z-index: 1050;\n}\n\n." + pluginClassName + "-corner ." + pluginClassName + "-wrapper,\n." + pluginClassName + "-corner ." + pluginClassName + "-container {\n position: relative;\n display: block;\n height: inherit;\n width: inherit;\n margin: 3px;\n}\n\n." + pluginClassName + "-wrapper {\n z-index: 1050;\n position: absolute;\n display: inline-block;\n height: 0;\n width: 0;\n}\n\n." + pluginClassName + "-container {\n display: none;\n z-index: 1050;\n position: absolute;\n cursor: pointer;\n}\n\n." + pluginClassName + "-text {\n position: relative;\n}\n\n." + pluginClassName + "-arrow {\n position: absolute;\n z-index: 1050;\n width: 0;\n height: 0;\n}" }; stylePrefixes = { @@ -2564,4 +2564,4 @@ log("plugin added."); }); })(jQuery); -}(window,document)); \ No newline at end of file +}(window,document));