* fix error message style, bug #37919.
This commit is contained in:
@@ -443,7 +443,7 @@ class ai extends control
|
||||
if(!empty($data->goTesting)) // Go to testing object view.
|
||||
{
|
||||
$location = $this->ai->getTestingLocation($prompt);
|
||||
return $this->send(empty($location) ? array('result' => 'fail', 'target' => '#go-test-btn', 'msg' => $this->lang->ai->prompts->goingTestingFail) : array('result' => 'success', 'target' => '#go-test-btn', 'msg' => $this->lang->ai->prompts->goingTesting, 'locate' => $location));
|
||||
return $this->send(empty($location) ? array('result' => 'fail', 'target' => '#go-test-btn', 'message' => $this->lang->ai->prompts->goingTestingFail) : array('result' => 'success', 'target' => '#go-test-btn', 'msg' => $this->lang->ai->prompts->goingTesting, 'locate' => $location));
|
||||
}
|
||||
|
||||
if(!empty($data->jumpToNext)) $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'locate' => $this->inlink('promptFinalize', "promptID=$promptID") . '#app=admin'));
|
||||
|
||||
Reference in New Issue
Block a user