Skip to content

Commit

Permalink
Fixed issue with finding erroneous script html5Forms.js script tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltan-dulac committed Mar 19, 2013
1 parent 192e693 commit f0ca159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/js/html5Forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var html5Forms = new function () {
for (var i=0; i<scriptNodes.length; i++) {
scriptNode = scriptNodes[i];

if (scriptNode.src.match('html5Forms(_src|-p|)\.js')) {
if (scriptNode.src.match('html5Forms(_src|-p|)\.js$')) {
scriptNode = scriptNode;
scriptDir = getScriptDir();
if (scriptNode.src.indexOf('html5Forms-p.js') >= 0) {
Expand Down Expand Up @@ -129,7 +129,7 @@ var html5Forms = new function () {
}



alert(me.forceJSDatePicker)
if (!inputSupport.date || me.forceJSDatePicker) {
toLoad = toLoad.concat([
scriptDir + '../../shared/js/jscalendar-1.0/calendar-win2k-1.css',
Expand Down

0 comments on commit f0ca159

Please sign in to comment.