From 235f62c456aead35052eeaba673adfca70232afe Mon Sep 17 00:00:00 2001 From: zero Date: Tue, 29 May 2007 09:21:23 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1503 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../editor/components/multimedia_link/multimedia_link.class.php | 1 + modules/editor/tpl/js/editor.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/editor/components/multimedia_link/multimedia_link.class.php b/modules/editor/components/multimedia_link/multimedia_link.class.php index 7a35065f3..e1f0b5ba3 100644 --- a/modules/editor/components/multimedia_link/multimedia_link.class.php +++ b/modules/editor/components/multimedia_link/multimedia_link.class.php @@ -41,6 +41,7 @@ **/ function transHTML($xml_obj) { $src = $xml_obj->attrs->multimedia_src; + $style = $xml_obj->attrs->style; preg_match_all('/(width|height)([^[:digit:]]+)([0-9]+)/i',$style,$matches); $width = trim($matches[3][0]); diff --git a/modules/editor/tpl/js/editor.js b/modules/editor/tpl/js/editor.js index 0497f389e..fc9b2ee5f 100755 --- a/modules/editor/tpl/js/editor.js +++ b/modules/editor/tpl/js/editor.js @@ -154,7 +154,7 @@ function _editorAutoSave() { xTop("editor_autosaved_message", xScrollTop()+10); xGetElementById("editor_autosaved_message").style.display = "block"; - setTimeout(function() {xGetElementById("editor_autosaved_message").style.display = "none";}, 15000); + setTimeout(function() {xGetElementById("editor_autosaved_message").style.display = "none";}, 60*3*1000); show_waiting_message = false; exec_xml("editor","procEditorSaveDoc", params, _editorAutoSaved); show_waiting_message = true;