Skip to content

Commit

Permalink
Added JS bundles to release 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
suskind committed Jul 12, 2013
1 parent 1fe98a5 commit 0b86d74
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0
2.1.1
14 changes: 8 additions & 6 deletions js/ink-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -14962,8 +14962,8 @@ Ink.createModule('Ink.UI.FormValidator', '1', ['Ink.Dom.Css_1','Ink.Util.Validat

this.elements[this.element.id] = [];
this.confirmElms[this.element.id] = [];
console.log(this.element);
console.log(this.element.elements);
//console.log(this.element);
//console.log(this.element.elements);
var formElms = this.element.elements;
var curElm = false;
for(var i=0, totalElm = formElms.length; i < totalElm; i++) {
Expand Down Expand Up @@ -15001,7 +15001,7 @@ Ink.createModule('Ink.UI.FormValidator', '1', ['Ink.Dom.Css_1','Ink.Util.Validat

}
}
debugger;
//debugger;
},

/**
Expand Down Expand Up @@ -15303,7 +15303,7 @@ Ink.createModule('Ink.UI.FormValidator', '1', ['Ink.Dom.Css_1','Ink.Util.Validat

if( !(validFormat in InkValidator._dateParsers ) ){
var validValues = [];
for( val in InkValidator._dateParsers ){
for( var val in InkValidator._dateParsers ){
validValues.push(val);
}
throw "The attribute data-valid-format must be one of the following values: " + validValues.join(',');
Expand Down Expand Up @@ -15342,8 +15342,10 @@ Ink.createModule('Ink.UI.FormValidator', '1', ['Ink.Dom.Css_1','Ink.Util.Validat

var newLabel = document.createElement('p');
//newLabel.setAttribute('for',curElm.id);
newLabel.className = this._errorClassName;
newLabel.className += ' ' . this._errorTypeErrorClassName;
//newLabel.className = this._errorClassName;
//newLabel.className += ' ' + this._errorTypeErrorClassName;
Css.addClassName(newLabel, this._errorClassName);
Css.addClassName(newLabel, this._errorTypeErrorClassName);
if(aFail[i].errors[0] !== 'ink-fv-custom') {
newLabel.innerHTML = this._flagMap[aFail[i].errors[0]].msg;
} else {
Expand Down
Loading

0 comments on commit 0b86d74

Please sign in to comment.