Skip to content
Snippets Groups Projects
Commit 67830bf0 authored by madhu sr's avatar madhu sr
Browse files

#Fixes::158510846::madhusr::while creating the time custom field,it is...

#Fixes::158510846::madhusr::while creating the time custom field,it is allowing to save illegal format
parent 907623f2
No related branches found
No related tags found
No related merge requests found
......@@ -561,7 +561,7 @@ Vtiger_Field_Js('Vtiger_Time_Field_Js',{},{
*/
getUi : function() {
var html = '<div class="">'+'<div class="input-group time">'+
'<input class="timepicker-default form-control inputElement" type="text" data-format="'+ this.getTimeFormat() +'" name="'+ this.getName() +'" value="'+ this.getValue() + '" />'+
'<input class="timepicker-default form-control inputElement" type="text" data-rule-time="true" data-format="'+ this.getTimeFormat() +'" name="'+ this.getName() +'" value="'+ this.getValue() + '" />'+
'<span class="input-group-addon"><i class="fa fa-clock-o"></i></span>'+
'</div>'+'</div>';
var element = jQuery(html);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment