By damianoskosmidis - Sun Feb 26, 2017 6:58 pm
- Sun Feb 26, 2017 6:58 pm
#789395
addRowText is not defined is an error displayed after PM upgrade from 3.0.1.8 to 3.1.3
None of old and new dynaformsforms that contain a grid is working.
the error is detected in line 48 of code:
(function(obj,_
/**/) {
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\n <div id="'+
.....................................
if ( mode !== "view" && mode !== "disabled" && addRow) {
__p+='\n <button type="button" class="'+
((__t=(namespace))==null?'':_.escape(__t))+
'-'+
((__t=(type))==null?'':_.escape(__t))+
'-newitem">\n <span class="pmdynaform-grid-plus glyphicon glyphicon-plus glyphicon btn btn-default btn-sm"></span>\n <span class="pmdynaform-grid-text-plus">'+
((__t=(addRowText))==null?'':_.escape(__t))+
'</span>\n </button>\n\n ';
}
.......................
how to correct this ?
thanks in advance
None of old and new dynaformsforms that contain a grid is working.
the error is detected in line 48 of code:
(function(obj,_
/**/) {
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\n <div id="'+
.....................................
if ( mode !== "view" && mode !== "disabled" && addRow) {
__p+='\n <button type="button" class="'+
((__t=(namespace))==null?'':_.escape(__t))+
'-'+
((__t=(type))==null?'':_.escape(__t))+
'-newitem">\n <span class="pmdynaform-grid-plus glyphicon glyphicon-plus glyphicon btn btn-default btn-sm"></span>\n <span class="pmdynaform-grid-text-plus">'+
((__t=(addRowText))==null?'':_.escape(__t))+
'</span>\n </button>\n\n ';
}
.......................
how to correct this ?
thanks in advance