diff --git a/layouts/vlayout/modules/Vtiger/resources/Detail.js b/layouts/vlayout/modules/Vtiger/resources/Detail.js index 791408bcc27ebaaaba01bfb8c77c92bfe73d6771..1239e86102064e2647fd2ad08d08cb46939ddb60 100644 --- a/layouts/vlayout/modules/Vtiger/resources/Detail.js +++ b/layouts/vlayout/modules/Vtiger/resources/Detail.js @@ -967,10 +967,9 @@ jQuery.Class("Vtiger_Detail_Js",{ - fieldElement.validationEngine('hide'); //Before saving ajax edit values we need to check if the value is changed then only we have to save - if(previousValue == ajaxEditNewValue) { + if((""+previousValue) == (""+ajaxEditNewValue)) { // Normalize(99!="099") Fix http://code.vtiger.com/vtiger/vtigercrm/issues/16 editElement.addClass('hide'); detailViewValue.removeClass('hide'); actionElement.show(); @@ -2046,4 +2045,4 @@ jQuery.Class("Vtiger_Detail_Js",{ app.registerEventForTextAreaFields(jQuery('.commentcontent')); this.registerEventForTotalRecordsCount(); } -}); \ No newline at end of file +});