Mercurial > public > sg101
annotate static/js/tiny_mce/plugins/xhtmlxtras/js/acronym.js @ 1186:5808bdbde07d
Adjust donations goal setting to $80.00
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 27 Dec 2021 16:54:28 -0600 |
parents | 88b2b9cb8c1f |
children |
rev | line source |
---|---|
bgneal@312 | 1 /** |
bgneal@312 | 2 * acronym.js |
bgneal@312 | 3 * |
bgneal@312 | 4 * Copyright 2009, Moxiecode Systems AB |
bgneal@312 | 5 * Released under LGPL License. |
bgneal@312 | 6 * |
bgneal@312 | 7 * License: http://tinymce.moxiecode.com/license |
bgneal@312 | 8 * Contributing: http://tinymce.moxiecode.com/contributing |
bgneal@312 | 9 */ |
bgneal@312 | 10 |
bgneal@312 | 11 function init() { |
bgneal@312 | 12 SXE.initElementDialog('acronym'); |
bgneal@312 | 13 if (SXE.currentAction == "update") { |
bgneal@312 | 14 SXE.showRemoveButton(); |
bgneal@312 | 15 } |
bgneal@312 | 16 } |
bgneal@312 | 17 |
bgneal@312 | 18 function insertAcronym() { |
bgneal@312 | 19 SXE.insertElement('acronym'); |
bgneal@312 | 20 tinyMCEPopup.close(); |
bgneal@312 | 21 } |
bgneal@312 | 22 |
bgneal@312 | 23 function removeAcronym() { |
bgneal@312 | 24 SXE.removeElement('acronym'); |
bgneal@312 | 25 tinyMCEPopup.close(); |
bgneal@312 | 26 } |
bgneal@312 | 27 |
bgneal@312 | 28 tinyMCEPopup.onInit.add(init); |