Hi. I have installed FCKEditor (works fine) and FCKFinder for ASP version. When I run FCKFinder I get and empty form and an error on ckfinder\core\js\ckfinder_ie.js file.
The error is: the A variable is not defined at 'A=A.toString()' instruction. Here follows the part of ckfinder_ie code with this instruction:
function(A){if (typeof(A)!='string') A=A.toString();A=A.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">");return A;},FormatDate:(function(){var A=CKFLang.DateTime.replace(/dd|mm|yyyy|hh|HH|MM|aa|d|m|yy|h|H|M|a/g,function(match){var B;switch (match){case 'd':B='day.replace(/^0/,\'\')';break;case 'dd':B='day';break;case 'm':B='month.replace(/^0/,\'\')';break;case 'mm':B='month';break;case 'yy':B='year.substr(2)';break;case 'yyyy':B='year';break;case 'H':B='hour.replace(/^0/,\'\')';break;case 'HH':B='hour';break;case 'h':B='( hour < 12 ? hour : ( ( hour - 12 ) + 100 ).toString().substr( 1 ) ).replace(/^0/,\'\')';break;case 'hh':B='( hour < 12 ? hour : ( ( hour - 12 ) + 100 ).toString().substr( 1 ) )';break;case 'M':B='minute.replace(/^0/,\'\')';break;case 'MM':B='minute';break;case 'a':B='CKFLang.DateAmPm[ hour < 12 ? 0 : 1 ].charAt(0)';break;case 'aa':B='CKFLang.DateAmPm[ hour < 12 ? 0 : 1 ]';break;default:B="'"+match+"'"};return "',"+B+",'";});A="'"+A+"'";A=A.replace(/('',)|,''$/g,'');return new Function('day','month','year','hour','minute',"return ["+A+"].join('');");})()};
Any idea?
Thanks in advance for any help !
The error is: the A variable is not defined at 'A=A.toString()' instruction. Here follows the part of ckfinder_ie code with this instruction:
function(A){if (typeof(A)!='string') A=A.toString();A=A.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">");return A;},FormatDate:(function(){var A=CKFLang.DateTime.replace(/dd|mm|yyyy|hh|HH|MM|aa|d|m|yy|h|H|M|a/g,function(match){var B;switch (match){case 'd':B='day.replace(/^0/,\'\')';break;case 'dd':B='day';break;case 'm':B='month.replace(/^0/,\'\')';break;case 'mm':B='month';break;case 'yy':B='year.substr(2)';break;case 'yyyy':B='year';break;case 'H':B='hour.replace(/^0/,\'\')';break;case 'HH':B='hour';break;case 'h':B='( hour < 12 ? hour : ( ( hour - 12 ) + 100 ).toString().substr( 1 ) ).replace(/^0/,\'\')';break;case 'hh':B='( hour < 12 ? hour : ( ( hour - 12 ) + 100 ).toString().substr( 1 ) )';break;case 'M':B='minute.replace(/^0/,\'\')';break;case 'MM':B='minute';break;case 'a':B='CKFLang.DateAmPm[ hour < 12 ? 0 : 1 ].charAt(0)';break;case 'aa':B='CKFLang.DateAmPm[ hour < 12 ? 0 : 1 ]';break;default:B="'"+match+"'"};return "',"+B+",'";});A="'"+A+"'";A=A.replace(/('',)|,''$/g,'');return new Function('day','month','year','hour','minute',"return ["+A+"].join('');");})()};
Any idea?
Thanks in advance for any help !
Re: JAVA PROBLEM