Mercurial > public > sg101
view static/js/tiny_mce/plugins/xhtmlxtras/js/cite.js @ 1029:b08f6a97228f
Add missing javascript to forums new topic page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 16 Dec 2015 21:07:01 -0600 |
parents | 88b2b9cb8c1f |
children |
line wrap: on
line source
/** * cite.js * * Copyright 2009, Moxiecode Systems AB * Released under LGPL License. * * License: http://tinymce.moxiecode.com/license * Contributing: http://tinymce.moxiecode.com/contributing */ function init() { SXE.initElementDialog('cite'); if (SXE.currentAction == "update") { SXE.showRemoveButton(); } } function insertCite() { SXE.insertElement('cite'); tinyMCEPopup.close(); } function removeCite() { SXE.removeElement('cite'); tinyMCEPopup.close(); } tinyMCEPopup.onInit.add(init);