MDL-41098 atto: Fix min-height on firefox.
authorDamyon Wiese <damyon.wiese@gmail.com>
Tue, 27 Aug 2013 13:09:32 +0000 (21:09 +0800)
committerDamyon Wiese <damyon.wiese@gmail.com>
Tue, 27 Aug 2013 13:09:32 +0000 (21:09 +0800)
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js
lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js
lib/editor/atto/yui/src/editor/js/editor.js

index 520721b..9bd1136 100644 (file)
Binary files a/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js and b/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-debug.js differ
index e610384..10ec58e 100644 (file)
Binary files a/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js and b/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor-min.js differ
index 520721b..9bd1136 100644 (file)
Binary files a/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js and b/lib/editor/atto/yui/build/moodle-editor_atto-editor/moodle-editor_atto-editor.js differ
index 4a2950c..4c75cc7 100644 (file)
@@ -282,7 +282,7 @@ M.editor_atto = M.editor_atto || {
             cssfont = css.responseText.substring(pos + 'font:'.length, css.responseText.length - 1);
             atto.setStyle('font', cssfont);
         }
-        atto.setStyle('min-height', (1.2 * (textarea.getAttribute('rows') - 1)) + 'em');
+        atto.setStyle('minHeight', (1.2 * (textarea.getAttribute('rows') - 1)) + 'em');
 
         // Copy text to editable div.
         atto.append(textarea.get('value'));