* Adjust mr link object callback.
This commit is contained in:
@@ -749,7 +749,7 @@ class mr extends control
|
||||
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
|
||||
|
||||
$link = inlink('link', "MRID=$MRID&type=story&orderBy=$orderBy");
|
||||
return $this->send(array('result' => 'success', 'callback' => "loadTable('$link', 'storyTable')", 'closeModal' => true));
|
||||
return $this->send(array('result' => 'success', 'load' => $link, 'closeModal' => true));
|
||||
}
|
||||
|
||||
$this->loadModel('story');
|
||||
@@ -841,7 +841,7 @@ class mr extends control
|
||||
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
|
||||
|
||||
$link = inlink('link', "MRID=$MRID&type=bug&orderBy=$orderBy");
|
||||
return $this->send(array('result' => 'success', 'callback' => "loadTable('$link', 'bugTable')", 'closeModal' => true));
|
||||
return $this->send(array('result' => 'success', 'load' => $link, 'closeModal' => true));
|
||||
}
|
||||
|
||||
$this->loadModel('bug');
|
||||
@@ -930,7 +930,7 @@ class mr extends control
|
||||
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
|
||||
|
||||
$link = inlink('link', "MRID=$MRID&type=task&orderBy=$orderBy");
|
||||
return $this->send(array('result' => 'success', 'callback' => "loadTable('$link', 'taskTable')", 'closeModal' => true));
|
||||
return $this->send(array('result' => 'success', 'load' => $link, 'closeModal' => true));
|
||||
}
|
||||
|
||||
$this->loadModel('execution');
|
||||
|
||||
Reference in New Issue
Block a user