Added date/time button, but not fully working (time needs to be updated before insertion)

SVN revision: 1835
This commit is contained in:
2007-04-11 07:34:19 +00:00
parent 878f3ebda2
commit d7e4be8b6e
3 changed files with 25 additions and 14 deletions
+7 -1
View File
@@ -110,6 +110,12 @@ function queryHeading(text)
elcode1(text, tag, '', selection);
}
function insertTime(text)
{
selection = getSelection(text);
elcode1(text, '', datetime, selection);
}
function elKeyInit()
{
document.onkeypress = elKeyPress;
@@ -175,4 +181,4 @@ function elKeyPress(evt)
}
return true;
}
}