[otrs-cvs] Fred/var/httpd/htdocs/js FredHTMLCheck.js,1.15,1.16

"CVS commits notifications of OTRS.org" <[email protected]> Thu, 20 Jun 2013 08:42:37 +0000
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/Fred/var/httpd/htdocs/js
In directory lancelot:/tmp/cvs-serv29820/var/httpd/htdocs/js

Modified Files:
	FredHTMLCheck.js 
Log Message:
Improve html check robustness in IE.

Author: mg

Index: FredHTMLCheck.js
===================================================================
RCS file: /home/cvs/Fred/var/httpd/htdocs/js/FredHTMLCheck.js,v
retrieving revision 1.15
retrieving revision 1.16
diff -2 -u -d -r1.15 -r1.16
--- FredHTMLCheck.js	5 Jun 2013 08:13:04 -0000	1.15
+++ FredHTMLCheck.js	20 Jun 2013 08:42:32 -0000	1.16
@@ -197,5 +197,5 @@
                     'BadPracticeObsoleteElement',
                     'Obsolete element <code>&lt;' + this.tagName + '&gt;</code> used',
-                    'Please replace it with: ' + ObsoleteElement2Replacement[this.tagName] + '.'
+                    'Please replace it with: ' + ObsoleteElement2Replacement[this.tagName.toLowerCase()] + '.'
             );
         });
@@ -250,5 +250,5 @@
                 for (Event in Events){
                     if (Events.hasOwnProperty(Event)) {
-                        Events[Event] = Events[Event].match(/on\w+/);
+                        Events[Event] = Events[Event].toString().match(/on\w+/);
                     }
                 }
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log