редактирование постов на ajax git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@131 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
nanosimbiot 2011-07-24 10:21:24 +00:00
parent 9a74db01ed
commit fd0a216a89
6 changed files with 200 additions and 40 deletions

View file

@ -1,5 +1,9 @@
// BBCode control. (based on bbcode.js from http://forum.dklab.ru)
function BBCode(textarea) { this.construct(textarea) }
function BBCode(obj)
{
textarea = document.getElementById(obj);
this.construct(textarea);
}
BBCode.prototype = {
VK_TAB: 9,
VK_ENTER: 13,