Added date/time button, but not fully working (time needs to be updated before insertion)
SVN revision: 1835
This commit is contained in:
+7
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user