aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index f3b252171..cf3749441 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -893,7 +893,13 @@ function updateConvItems(mode,data) {
return true;
}
-
+ function importElement(elem) {
+ $.post(
+ "impel",
+ { "element" : elem }
+ );
+ return false;
+ }
function preview_post() {
$("#jot-preview").val("1");
@@ -1069,6 +1075,7 @@ function previewTheme(elm) {
}
$(document).ready(function() {
+
jQuery.timeago.settings.strings = {
prefixAgo : aStr['t01'],
prefixFromNow : aStr['t02'],