[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [14313]
From: |
Nelson Guerra |
Subject: |
[Fmsystem-commits] [14313] |
Date: |
Tue, 10 Nov 2015 00:25:32 +0000 |
Revision: 14313
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14313
Author: nelson224
Date: 2015-11-10 00:25:32 +0000 (Tue, 10 Nov 2015)
Log Message:
-----------
Modified Paths:
--------------
branches/dev-syncromind/frontend/inc/class.uientity.inc.php
Modified: branches/dev-syncromind/frontend/inc/class.uientity.inc.php
===================================================================
--- branches/dev-syncromind/frontend/inc/class.uientity.inc.php 2015-11-10
00:25:03 UTC (rev 14312)
+++ branches/dev-syncromind/frontend/inc/class.uientity.inc.php 2015-11-10
00:25:32 UTC (rev 14313)
@@ -380,25 +380,27 @@
'parameters' =>
json_encode($parameters)
);
}
-
+
if ($category['start_ticket'])
{
$tabletools[] = array
(
'my_name' =>
'edit',
'text' =>
lang('start ticket'),
- 'action' =>
$GLOBALS['phpgw']->link('/index.php',array
- (
- 'menuaction' =>
'frontend.uihelpdesk.add_ticket',
- 'noframework' => 1,
- 'target'
=> '_tinybox',
- 'p_entity_id' =>
$this->entity_id,
- 'p_cat_id'
=> $this->cat_id,
- 'type'
=> $this->type,
- 'bypass'
=> true,
- 'origin'
=> ".{$this->type}.{$this->entity_id}.{$this->cat_id}",
- )),
- 'parameters' =>
json_encode($parameters2)
+ 'type' =>
'custom',
+ 'custom_code' => "
+ var oArgs =
".json_encode(array(
+
'menuaction' => 'frontend.uihelpdesk.add_ticket',
+
'noframework' => 1,
+
'p_entity_id' => $this->entity_id,
+
'p_cat_id' => $this->cat_id,
+ 'type'
=> $this->type,
+
'bypass' => true,
+
'origin' => ".{$this->type}.{$this->entity_id}.{$this->cat_id}"
+ )).";
+ var parameters =
".json_encode($parameters2).";
+ startTicket(oArgs,
parameters);
+ "
);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [14313],
Nelson Guerra <=