lathama: branch 2.0 r5153 - /branches/2.0/config/js/astman.js
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Tue Feb 1 07:37:25 CST 2011
Author: lathama
Date: Tue Feb 1 07:37:18 2011
New Revision: 5153
URL: http://svnview.digium.com/svn/asterisk-gui?view=rev&rev=5153
Log:
Allow Webkit Browsers to submit forms
Webkit browsers like Google Chrome and Safari can
not submit some forms. There is an issue with the
validation. Mainly "required.isAstTrue"
(closes issue #17977)
Reported by: lathama
Patches:
webkit.diff uploaded by lathama (license 1028)
Tested by: lathama
Modified:
branches/2.0/config/js/astman.js
Modified: branches/2.0/config/js/astman.js
URL: http://svnview.digium.com/svn/asterisk-gui/branches/2.0/config/js/astman.js?view=diff&rev=5153&r1=5152&r2=5153
==============================================================================
--- branches/2.0/config/js/astman.js (original)
+++ branches/2.0/config/js/astman.js Tue Feb 1 07:37:18 2011
@@ -492,7 +492,7 @@
field = _$(field);
}
var required = $(field).attr('required');
- if( required && required.isAstTrue() ){
+ if( required ){
var x = field.value.trim() ;
var pcn = ( field.className ) ? field.className : '' ;
if( !x ){
More information about the asterisk-gui-commits
mailing list