Merge branch 'master' of ns3:/srv/git/noalyss

This commit is contained in:
Dany De Bontridder 2016-03-24 20:05:03 +01:00
commit f9113b7962
5 changed files with 4 additions and 3 deletions

View file

@ -1085,6 +1085,7 @@ function op_save(obj)
var answer=xml.responseXML;
var html = answer.getElementsByTagName('code');
$(divid).innerHTML=unescape(getNodeText(html[0]));
$(divid).innerHTML.evalScripts();
remove_waiting_box();
} catch (e) {
alert_box("1038"+e.message)

View file

@ -800,6 +800,7 @@ class Anc_Operation
function save_update_form($p_array)
{
extract($p_array);
if ( ! isset($opanc)) return;
for ($i = 0; $i < count($opanc); $i++)
{
/* clean operation_analytique */

View file

@ -192,7 +192,7 @@ class Document
$h=fopen($infile_name,"r");
// check if tmpdir exist otherwise create it
$temp_dir=$_SERVER["DOCUMENT_ROOT"].DIRECTORY_SEPARATOR.'tmp';
$temp_dir=$_ENV['TMP'];
if ( is_dir($temp_dir) == false )
{
if ( mkdir($temp_dir) == false )

View file

@ -104,7 +104,7 @@ if ( !defined("SITE_UPDATE_PLUGIN"))
if ( ! defined ("SYSINFO_DISPLAY")) {
define ("SYSINFO_DISPLAY",TRUE);
}
define ("DBVERSION",124);
define ("DBVERSION",125);
define ("MONO_DATABASE",25);
define ("DBVERSIONREPO",16);
define ('NOTFOUND','--not found--');

View file

@ -342,7 +342,6 @@ if ( ($aCard[$i] != 0 && $p_view == 'READ') || $p_view != 'READ'):
<?php if ($p_view != "READ" ): ?>
<script language="JavaScript">
if ( $('e_march0') && $('e_march0').value =='') { toggleShowDetail();}
$('div_generate_document').hide();
function toggleShowDetail() {
try {var detail=g('fldDetail');
var but=g('toggleButton');