Fix TinyMCE doesn't work when DEBUGNOALYSS > 1
This commit is contained in:
parent
98d463454b
commit
351d5b2a44
3 changed files with 10 additions and 7 deletions
|
|
@ -62,8 +62,7 @@ $http=new HttpInput();
|
|||
IDate::set_firstDate($g_user->get_first_week_day());
|
||||
ITva_Popup::set_vat_code($g_user->get_vat_code_preference());
|
||||
|
||||
// check that the current user is saved into PostgreSQL setting in order to use it in PLPGSQL
|
||||
\Noalyss\Dbg::echo_var(1,sprintf("current user is [%s]",$cn->get_value("select current_setting('noalyss.user_login')")));
|
||||
|
||||
|
||||
/*
|
||||
* check that the database is not empty
|
||||
|
|
@ -85,6 +84,10 @@ if ($g_user->get_access_mode()=='MOBILE') { require NOALYSS_HOME."/mobile.php";
|
|||
$style_user=$http->post("style_user","string",$_SESSION[SESSION_KEY.'g_theme']);
|
||||
|
||||
html_page_start($style_user);
|
||||
|
||||
// check that the current user is saved into PostgreSQL setting in order to use it in PLPGSQL
|
||||
\Noalyss\Dbg::echo_var(1,sprintf("current user is [%s]",$cn->get_value("select current_setting('noalyss.user_login')")));
|
||||
|
||||
if ( DEBUGNOALYSS > 1 ) {
|
||||
/**
|
||||
* Debug Design
|
||||
|
|
|
|||
|
|
@ -1278,7 +1278,7 @@ function op_save(obj) {
|
|||
var divid = obj.whatdiv.value;
|
||||
queryString ["act"] = "save";
|
||||
queryString ["op"] = "ledger";
|
||||
|
||||
|
||||
waiting_box();
|
||||
/*
|
||||
* Operation detail is in a new window
|
||||
|
|
@ -1343,7 +1343,9 @@ function op_save(obj) {
|
|||
return false;
|
||||
} catch (e) {
|
||||
console.error("F1. op_save")
|
||||
alert_box(e.message);
|
||||
console.error(e.message)
|
||||
alert_box("op_save "+e.message);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1824,7 +1826,6 @@ var operation_exercice = {
|
|||
// For form , most of the parameters are in the FORM
|
||||
// method is then POST
|
||||
//var queryString=id$(p_form_id).serialize(true);
|
||||
console.debug(row_operation_exercice);
|
||||
var queryString = {
|
||||
op: 'operation_exercice+modify_row',
|
||||
oe_id: oe_id,
|
||||
|
|
@ -1843,7 +1844,6 @@ var operation_exercice = {
|
|||
reconnect();
|
||||
return;
|
||||
}
|
||||
console.debug(req.responseText)
|
||||
var y = calcy(15);
|
||||
var div_style = "position:absolute;" + ";top:" + y + "px";
|
||||
add_div({id: dgbox, cssclass: 'inner_box', html: loading(), style: div_style, drag: true});
|
||||
|
|
|
|||
|
|
@ -314,7 +314,7 @@ function html_page_start($p_theme="", $p_script="", $p_script2="")
|
|||
|
||||
if ($is_msie == 0 )
|
||||
{
|
||||
echo '<!doctype html>';
|
||||
echo '<!DOCTYPE html>';
|
||||
printf("\n");
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue