projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
185e701
)
MTrackWeb/TicketEdit.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 06:52:57 +0000
(14:52 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Mar 2011 06:52:57 +0000
(14:52 +0800)
MTrackWeb/TicketEdit.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/TicketEdit.php
b/MTrackWeb/TicketEdit.php
index
cbb04c9
..
e74c68a
100644
(file)
--- a/
MTrackWeb/TicketEdit.php
+++ b/
MTrackWeb/TicketEdit.php
@@
-31,11
+31,18
@@
class MTrackWeb_TicketEdit extends MTrackWeb
if (!isset($_REQUEST['ajax_body'])) {
return;
}
+
+
$this->masterTemplate = 'ticket_edit.html';
$this->id = $pi ? $pi: (isset($_GET['id']) ? $_GET['id'] : 0);
$this->id = $this->id == 'new' ? 0 : $this->id;
$this->id = (int) $this->id;
+ $this->loadIssue();
+ $this->initEditForm();
+ }
+
+ function loadIssue();
// -- load issue..
@@
-94,7
+101,7
@@
class MTrackWeb_TicketEdit extends MTrackWeb
return;
}
- $this->initEditForm();
+