Project

General

Profile

js error on foldernames if they contain numbers only

Added by Anonymous over 9 years ago

in application.js.php
change line 90 from:

return t.apply([record.get('icon'), value.replace(/[\u00A0-\u9999<>\&]/gim, function(i) {    return '&#'+i.charCodeAt(0)+';';})] );

to:
return t.apply([record.get('icon'), value.toString().replace(/[\u00A0-\u9999<>\&]/gim, function(i) {    return '&#'+i.charCodeAt(0)+';';})] );

that will force value to be a string

:)