TIMEZONE = tz;
TIME_STAMP = new Date(today);
DBI_LVAR_SZ = parseInt(log_limit);
+
onBodyLoadGeneric();
+
if (toggle) {
this.toggle("#div_srh", false);
})
});
- $("#log_submit").click(encodeText);
+// $("#log_submit").click(encodeText);
$('#ec').show();
$(e.target.parentNode).closest("tr").removeClass("hover");
}
});
-
+
if($("#isInViewMode").val()>0){
this.toggle('#div_srh', true);
source: AUTOWORDS
});
});
- display("Log page is ready!");
+
+ display("Log page is ready!", 5);
+
}
function encodeText(){
if(msg){
return dialogModal( "Sorry Form Validation Failed", msg);
}
+ $('#frm_entry').hide();
+ encodeText();
return true;
}
- if(is_submit && (EDIT_LOG_TXT && $('#el').val() !== EDIT_LOG_TXT)){
+ if(is_submit && (EDIT_LOG_TXT && $('#el').val() !== EDIT_LOG_TXT)){
if(formValidation()){ //If it is false, failed. That needs to altered by the user first.
{ text: "Yes",
icons: { primary: "ui-icon-circle-check" },
- click: function() {
+ click: function() {
$( this ).dialog( "close" );
$("#frm_entry").submit();
}
});
}
- return false;
+ return false;
}
else
- if(is_submit && !$("#RTF").prop('checked')){
- return true;//we submit normal log entry
+ if(is_submit && !$("#RTF").prop('checked')){
+ return true;//we submit normal log entry
}
RTF_SUBMIT = true;
var bg = $("#fldBG").val();