[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12852]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [12852] |
Date: |
Thu, 12 Mar 2015 16:12:18 +0000 |
Revision: 12852
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12852
Author: nelson224
Date: 2015-03-12 16:12:18 +0000 (Thu, 12 Mar 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.uiproject.inc.php
Modified: branches/dev-syncromind/property/inc/class.uiproject.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uiproject.inc.php
2015-03-12 16:12:00 UTC (rev 12851)
+++ branches/dev-syncromind/property/inc/class.uiproject.inc.php
2015-03-12 16:12:18 UTC (rev 12852)
@@ -601,6 +601,23 @@
}
$datatable['exchange_values'] =
$function_exchange_values;
$datatable['valida'] = $function_detail;
+
+ $query = phpgw::get_var('query');
+ if (!empty($query))
+ {
+ $code = <<<JS
+ function
initCompleteDatatable(oSettings, json, oTable)
+ {
+ setTimeout(function() {
+ var api =
oTable.api();
+ api.search(
'$query' ).draw();
+ }, 1);
+ }
+JS;
+
+ $GLOBALS['phpgw']->js->add_code('',
$code, true);
+ }
+
}
self::render_template_xsl('datatable_jquery',$data);
@@ -1907,7 +1924,7 @@
array('key' =>
'type','label'=>lang('type'),'sortable'=>true),
array('key' =>
'title','label'=>lang('title'),'sortable'=>false),
array('key' =>
'status','label'=>lang('status'),'sortable'=>false),
- array('key' =>
'select','label'=>lang('select'),'sortable'=>false)
+ array('key' =>
'select','label'=>lang('select'),'className'=>'center','sortable'=>false)
);
$datatable_def[] = array
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12852],
Nelson Guerra <=