From 586a79d5f37ecf4d37e3e84794a917fefb956bb6 Mon Sep 17 00:00:00 2001 From: heper Date: Thu, 5 Nov 2015 17:09:47 +0100 Subject: change onclick delete msg toLowerCase() --- src/usr/local/www/jquery/pfSense.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/usr/local/www/jquery/pfSense.js b/src/usr/local/www/jquery/pfSense.js index 45834e5..77234e7 100644 --- a/src/usr/local/www/jquery/pfSense.js +++ b/src/usr/local/www/jquery/pfSense.js @@ -129,10 +129,10 @@ $(function() { if(!msg) var msg = $.trim(this.value).toLowerCase(); - var q = 'Are you Sure you wish to '+ msg +'?'; + var q = 'Are you sure you wish to '+ msg +'?'; if ($(this).attr('title') != undefined) - q = 'Are you Sure you wish to '+ $(this).attr('title') + '?'; + q = 'Are you sure you wish to '+ $(this).attr('title').toLowerCase() + '?'; if (!confirm(q)) e.preventDefault(); @@ -253,4 +253,4 @@ $(function() { }); }); }(Plugin, $, window, document)); -}(jQuery, window, document)); \ No newline at end of file +}(jQuery, window, document)); -- cgit v1.1