- Ppgrade jquery

- Early detection of table existency (on creation)
- Replaced deprecated ajax calls (defer)
This commit is contained in:
2014-09-05 23:13:55 +02:00
parent 7df342462b
commit ecc3471ebc
5 changed files with 68 additions and 72 deletions

View File

@@ -50,6 +50,7 @@ $bFirstConn = isset($_GET['first_conn'])?$_GET['first_conn']:false;
$iMessageId = isset($_GET['message_id'])?$_GET['message_id']:0;
$oItemId = isset($_REQUEST['id'])?$_REQUEST['id']:0;
$sSystem = isset($_POST['system'])?$_POST['system']:'';
$bSimul = isset($_POST['simul'])?$_POST['simul']:false;
$sResult = '';
//Launching application
@@ -110,7 +111,7 @@ if($bUserOk && $sAction!=Databap::EXT_ACCESS)
$sResult = $oDatabap->getDoc($oItemId);
break;
case 'add_table':
$sResult = $oDatabap->addTable($sSystem, $sTitle, $sDescription, $sKeyWords, $oItemId);
$sResult = $oDatabap->addTable($sSystem, $sTitle, $sDescription, $sKeyWords, $oItemId, $bSimul);
break;
case 'get_table':
$sResult = $oDatabap->getTable($oItemId);