bgneal@45: /** bgneal@45: * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $ bgneal@45: * bgneal@45: * @author Moxiecode - based on work by Andrew Tetlaw bgneal@45: * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. bgneal@45: */ bgneal@45: bgneal@45: function init() { bgneal@45: SXE.initElementDialog('cite'); bgneal@45: if (SXE.currentAction == "update") { bgneal@45: SXE.showRemoveButton(); bgneal@45: } bgneal@45: } bgneal@45: bgneal@45: function insertCite() { bgneal@45: SXE.insertElement('cite'); bgneal@45: tinyMCEPopup.close(); bgneal@45: } bgneal@45: bgneal@45: function removeCite() { bgneal@45: SXE.removeElement('cite'); bgneal@45: tinyMCEPopup.close(); bgneal@45: } bgneal@45: bgneal@45: tinyMCEPopup.onInit.add(init);