Committer: vvasin
LJSUP-12885: SMS notification - Add Tajikistan. Fix phone verification.U trunk/htdocs/js/editprofile.js
Modified: trunk/htdocs/js/editprofile.js =================================================================== --- trunk/htdocs/js/editprofile.js 2012-08-03 11:18:41 UTC (rev 12411) +++ trunk/htdocs/js/editprofile.js 2012-08-03 12:00:41 UTC (rev 12412) @@ -33,7 +33,7 @@ .replace(/^\+/, '') // replace 8 as internal Russia code .replace(/^8/, '7'), - parsed = parseNumber(phone), + parsed = this.parseNumber(phone), state = value.length === 0 ? 'initial' : !parsed.def ? 'unsupporteddef' : !parsed.phone ? 'badnum' :