[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13253]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [13253] |
Date: |
Thu, 21 May 2015 20:21:54 +0000 |
Revision: 13253
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13253
Author: nelson224
Date: 2015-05-21 20:21:53 +0000 (Thu, 21 May 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.uievent.inc.php
Modified: branches/dev-syncromind/property/inc/class.uievent.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uievent.inc.php 2015-05-21
20:21:36 UTC (rev 13252)
+++ branches/dev-syncromind/property/inc/class.uievent.inc.php 2015-05-21
20:21:53 UTC (rev 13253)
@@ -449,8 +449,13 @@
function edit()
{
- $GLOBALS['phpgw_info']['flags']['noframework'] = true;
-
+ $lookup = phpgw::get_var('lookup');
+
+ if($lookup)
+ {
+ $GLOBALS['phpgw_info']['flags']['noframework']
= true;
+ }
+
if(!$this->acl_add)
{
$this->bocommon->no_access();
@@ -569,7 +574,8 @@
'location' => $location,
'attrib_id' => $attrib_id,
'item_id' => $item_id,
- 'id' => $id
+ 'id' => $id,
+ 'lookup' => $lookup
);
$link_schedule_data = array
@@ -642,6 +648,7 @@
'lang_descr'
=> lang('Description'),
'lang_save'
=> lang('save'),
'lang_cancel'
=> lang('cancel'),
+ 'lookup'
=> $lookup,
'lang_apply'
=> lang('apply'),
'value_id'
=> isset($values['id']) ? $values['id'] : '',
@@ -704,8 +711,7 @@
var aData = selected[n];
values['alarm'][aData['alarm_id']] = aData['alarm_id'];
}
-
{$entry['funct']}(values);
-
JqueryPortico.updateinlineTableHelper(oTable0, '$link_shedule2');"
+
{$entry['funct']}(values);"
);
}
@@ -723,10 +729,7 @@
url: '$link_shedule2',
data:{values:values},
success: function(data) {
- if( data != null)
- {
-
- }
+ JqueryPortico.updateinlineTableHelper(oTable0,
'$link_shedule2');
}
});
}
@@ -912,16 +915,16 @@
}
$result_data = array('results' => $out);
-
$result_data['total_records'] =
$total_records;
- $result_data['draw'] = $draw;
-
- return
$this->jquery_results($result_data);
}
else
{
- return "";
+ $result_data = array('results' =>
array());
+ $result_data['total_records'] = 0;
+
}
+ $result_data['draw'] = $draw;
+ return $this->jquery_results($result_data);
}
//--------------------JSON code-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13253],
Nelson Guerra <=