Mercurial > public > sg101
view static/js/tiny_mce/plugins/xhtmlxtras/js/acronym.js @ 553:abc4be5a82e5
Prepare to use my forked version of elsewhere that has staticfiles support.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 26 Jan 2012 20:24:15 -0600 |
parents | 88b2b9cb8c1f |
children |
line wrap: on
line source
/** * acronym.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('acronym'); if (SXE.currentAction == "update") { SXE.showRemoveButton(); } } function insertAcronym() { SXE.insertElement('acronym'); tinyMCEPopup.close(); } function removeAcronym() { SXE.removeElement('acronym'); tinyMCEPopup.close(); } tinyMCEPopup.onInit.add(init);