mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Fix for bug #488939.. Closing all tags also closes image tags :D
git-svn-id: file:///svn/phpbb/trunk@1734 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e3777f10cd
commit
608c2c5427
1 changed files with 1 additions and 0 deletions
|
@ -141,6 +141,7 @@ function bbstyle(bbnumber) {
|
||||||
buttext = eval('document.post.addbbcode' + butnumber + '.value');
|
buttext = eval('document.post.addbbcode' + butnumber + '.value');
|
||||||
eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
|
eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
|
||||||
}
|
}
|
||||||
|
imageTag = false; // All tags are closed including image tags :D
|
||||||
document.post.message.focus();
|
document.post.message.focus();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue