+ parseubb to bug steps and userTPL when upgrade.
This commit is contained in:
@@ -454,7 +454,7 @@ class bugModel extends model
|
||||
public function saveUserBugTemplate()
|
||||
{
|
||||
$template = fixer::input('post')
|
||||
->specialChars('title, content')
|
||||
->specialChars('title')
|
||||
->add('account', $this->app->user->account)
|
||||
->add('type', 'bug')
|
||||
->get();
|
||||
|
||||
@@ -30,7 +30,7 @@ KE.plugin.savetemplate = {
|
||||
function setTemplate(templateID)
|
||||
{
|
||||
$('#tplTitleBox' + templateID).attr('style', 'text-decoration:underline; color:#8B008B');
|
||||
steps = $('#template' + templateID).text();
|
||||
steps = $('#template' + templateID).html();
|
||||
KE.html('steps', steps);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user