BUG 11075 Adicion de triggers: UP-DOWN no funciona SOLVED

- En la asignación de triggers a un Step, es difícil poder mover la posición de un trigger (en cualquiera de las opciones: Before, After, Before Assignment, Before Routing,etc)con el Down y Up.
- Added sortable attribute in propelTable.
This commit is contained in:
Hector Cortez
2013-04-05 12:17:52 -04:00
parent 30999215fc
commit 35f018d371
3 changed files with 4 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ class propelTable
public $query; public $query;
public $totPages; public $totPages;
public $totRows; public $totRows;
public $sortable = 'true'; public $sortable = '1';
//SQL QUERIES //SQL QUERIES
public $criteria; public $criteria;
@@ -343,7 +343,7 @@ class propelTable
if ($this->style[$r]['titleVisibility'] != '0') { if ($this->style[$r]['titleVisibility'] != '0') {
$this->style[$r]['href'] = $this->ownerPage . '?order=' . ($sortOrder !== '' ? (G::createUID( '', $this->fields[$r]['Name'] ) . '=' . $sortOrder) : '') . '&page=' . $this->currentPage; $this->style[$r]['href'] = $this->ownerPage . '?order=' . ($sortOrder !== '' ? (G::createUID( '', $this->fields[$r]['Name'] ) . '=' . $sortOrder) : '') . '&page=' . $this->currentPage;
if ($this->sortable == 'false') { if ($this->sortable == '0') {
$this->style[$r]['onsort'] = $this->id . '.doSort("' . G::createUID( '', $this->fields[$r]['Name'] ) . '" , ""); return false;';; $this->style[$r]['onsort'] = $this->id . '.doSort("' . G::createUID( '', $this->fields[$r]['Name'] ) . '" , ""); return false;';;
} else { } else {
$this->style[$r]['onsort'] = $this->id . '.doSort("' . G::createUID( '', $this->fields[$r]['Name'] ) . '" , "' . $sortOrder . '"); return false;'; $this->style[$r]['onsort'] = $this->id . '.doSort("' . G::createUID( '', $this->fields[$r]['Name'] ) . '" , "' . $sortOrder . '"); return false;';

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<dynaForm sqlConnection="" menu="steps/triggersAfter_Options" width="100%" disableFooter="1" rowsPerPage="100" sortable="false" > <dynaForm sqlConnection="" menu="steps/triggersAfter_Options" width="100%" disableFooter="1" rowsPerPage="100" sortable="0" >
<STEP_UID type="hidden" showInTable="0"/> <STEP_UID type="hidden" showInTable="0"/>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<dynaForm sqlConnection="" menu="steps/triggersBefore_Options" width="100%" disableFooter="1" rowsPerPage="100" sortable="false" > <dynaForm sqlConnection="" menu="steps/triggersBefore_Options" width="100%" disableFooter="1" rowsPerPage="100" sortable="0" >
<STEP_UID type="hidden" showInTable="0"/> <STEP_UID type="hidden" showInTable="0"/>