From 9f439b177d68f21c872abdbb0429e9b80f2a8091 Mon Sep 17 00:00:00 2001 From: poltawski <poltawski> Date: Tue, 8 May 2007 16:25:18 +0000 Subject: [PATCH] MDL-9742 Replaced stray tabs with spaces --- lib/javascript-static.js | 34 ++++++++++++++++----------------- theme/chameleon/header.html | 4 ++-- theme/cornflower/cornflower.css | 8 ++++---- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/lib/javascript-static.js b/lib/javascript-static.js index 5e128e24744..4b7e1450b7b 100644 --- a/lib/javascript-static.js +++ b/lib/javascript-static.js @@ -401,22 +401,22 @@ function fix_column_width(colName) { /* - Insert myValue at current cursor position -*/ + Insert myValue at current cursor position + */ function insertAtCursor(myField, myValue) { - // IE support - if (document.selection) { - myField.focus(); - sel = document.selection.createRange(); - sel.text = myValue; - } - // Mozilla/Netscape support - else if (myField.selectionStart || myField.selectionStart == '0') { - var startPos = myField.selectionStart; - var endPos = myField.selectionEnd; - myField.value = myField.value.substring(0, startPos) - + myValue + myField.value.substring(endPos, myField.value.length); - } else { - myField.value += myValue; - } + // IE support + if (document.selection) { + myField.focus(); + sel = document.selection.createRange(); + sel.text = myValue; + } + // Mozilla/Netscape support + else if (myField.selectionStart || myField.selectionStart == '0') { + var startPos = myField.selectionStart; + var endPos = myField.selectionEnd; + myField.value = myField.value.substring(0, startPos) + + myValue + myField.value.substring(endPos, myField.value.length); + } else { + myField.value += myValue; + } } diff --git a/theme/chameleon/header.html b/theme/chameleon/header.html index 03cedb173e3..37f0dbb7dde 100644 --- a/theme/chameleon/header.html +++ b/theme/chameleon/header.html @@ -25,8 +25,8 @@ <h1 class="headermain"><?php echo $heading ?></h1> <div class="headermenu"><?php echo $menu ?></div> </div> - <div class="navbar clearfix"> - + <div class="navbar clearfix"> + </div> <?php } else { // This is what gets printed on any other page with a heading ?> diff --git a/theme/cornflower/cornflower.css b/theme/cornflower/cornflower.css index be0e218865e..965a71c61cb 100755 --- a/theme/cornflower/cornflower.css +++ b/theme/cornflower/cornflower.css @@ -555,7 +555,7 @@ h6.main { div.headermenu { - position: absolute; - top: 15px; - right: 10px; -} \ No newline at end of file + position: absolute; + top: 15px; + right: 10px; +}