+ parseubb to bug steps and userTPL when upgrade.

This commit is contained in:
fujia
2010-09-13 09:50:25 +00:00
parent f3edef3a90
commit cd7a847fc4
3 changed files with 21 additions and 2 deletions
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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);
}