Merged in gproly/processmaker (pull request #1407)

PM-1437 PM-1396 IMPROVEMENT
This commit is contained in:
Julio Cesar Laura Avendaño
2015-02-06 16:49:14 -04:00

View File

@@ -931,10 +931,9 @@ Ext.onReady( function() {
text: fields['NEWCALENDAR']=='YES'?_("ID_CREATE") : _("ID_UPDATE"),
handler: function() {
Ext.getCmp('idInvalidCalendarName').hide();
Ext.getCmp('dynaformCalendarName').setValue(Ext.getCmp('dynaformCalendarName').getValue().trim());
var canlendarName = Ext.getCmp('dynaformCalendarName').getValue().trim();
console.log(canlendarName);
if(canlendarName === ""){
Ext.getCmp('dynaformCalendarName').setValue("");
return;
}
Ext.Ajax.request({