[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [12744] Class.uicustom
From: |
Saul |
Subject: |
[Fmsystem-commits] [12744] Class.uicustom |
Date: |
Thu, 12 Feb 2015 23:11:56 +0000 |
Revision: 12744
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12744
Author: psaul
Date: 2015-02-12 23:11:55 +0000 (Thu, 12 Feb 2015)
Log Message:
-----------
Class.uicustom
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.uicustom.inc.php
Modified: branches/dev-syncromind/property/inc/class.uicustom.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uicustom.inc.php 2015-02-12
23:03:04 UTC (rev 12743)
+++ branches/dev-syncromind/property/inc/class.uicustom.inc.php 2015-02-12
23:11:55 UTC (rev 12744)
@@ -282,6 +282,9 @@
$values = phpgw::get_var('values');
$values['sql_text'] = $_POST['values']['sql_text'];
+
+ if ((isset($values['save']) && $values['save']) ||
(isset($values['apply']) && $values['apply']))
+ {
if(!$values['name'])
{
$receipt['error'][]=array('msg'=>lang('Please enter a name !'));
@@ -326,6 +329,11 @@
{
$this->edit();
}
+ }
+ else
+ {
+ $this->edit($values);
+ }
}
function edit()
@@ -360,7 +368,7 @@
$link_data = array
(
- 'menuaction' =>
'property.uicustom.edit',
+ 'menuaction' =>
'property.uicustom.save',
'custom_id' => $custom_id
);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [12744] Class.uicustom,
Saul <=