1App.Organization = function(){ 2 var lang = App.Localization.getLang(); 3 4 function addIdentifierValidator(){ 5 if ($.validator) 6 $.validator.addMethod("identifier", function(value, element){ 7 return this.optional(element) || (value.length <= 30 && /^([a-z])([a-z]|\d)*(-([a-z]|\d)+)*$/.test(value)); 8 }, lang.identifilerValidationError); 9 } 10 11 function setupAddView(){ 12 //addIdentifierValidator(); 13 var $form = $(".organization-profile"); 14 $('.tb-location', $form).tblocation(); 15 //$form.removeData("validator") 16 //$form.removeData("unobtrusiveValidation"); 17 //$form.validate(); 18 } 19 20 return { 21 setupAddView : setupAddView 22 } 23}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.