Mercurial > public > sg101
comparison media/js/tiny_mce/plugins/inlinepopups/editor_plugin_src.js @ 183:149c3567fec1
Updated to TinyMCE version 3.3.2. This is for #57.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 28 Mar 2010 21:47:48 +0000 |
parents | a5b4c5ce0658 |
children |
comparison
equal
deleted
inserted
replaced
182:5c889b587416 | 183:149c3567fec1 |
---|---|
1 /** | 1 /** |
2 * $Id: editor_plugin_src.js 999 2009-02-10 17:42:58Z spocke $ | 2 * editor_plugin_src.js |
3 * | 3 * |
4 * @author Moxiecode | 4 * Copyright 2009, Moxiecode Systems AB |
5 * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved. | 5 * Released under LGPL License. |
6 * | |
7 * License: http://tinymce.moxiecode.com/license | |
8 * Contributing: http://tinymce.moxiecode.com/contributing | |
6 */ | 9 */ |
7 | 10 |
8 (function() { | 11 (function() { |
9 var DOM = tinymce.DOM, Element = tinymce.dom.Element, Event = tinymce.dom.Event, each = tinymce.each, is = tinymce.is; | 12 var DOM = tinymce.DOM, Element = tinymce.dom.Element, Event = tinymce.dom.Event, each = tinymce.each, is = tinymce.is; |
10 | 13 |
48 if (!f.inline) | 51 if (!f.inline) |
49 return t.parent(f, p); | 52 return t.parent(f, p); |
50 | 53 |
51 // Only store selection if the type is a normal window | 54 // Only store selection if the type is a normal window |
52 if (!f.type) | 55 if (!f.type) |
53 t.bookmark = ed.selection.getBookmark('simple'); | 56 t.bookmark = ed.selection.getBookmark(1); |
54 | 57 |
55 id = DOM.uniqueId(); | 58 id = DOM.uniqueId(); |
56 vp = DOM.getViewPort(); | 59 vp = DOM.getViewPort(); |
57 f.width = parseInt(f.width || 320); | 60 f.width = parseInt(f.width || 320); |
58 f.height = parseInt(f.height || 240) + (tinymce.isIE ? 8 : 0); | 61 f.height = parseInt(f.height || 240) + (tinymce.isIE ? 8 : 0); |