From a673e48317a587cdfc99d6d1d72dfd4e04f6eebd Mon Sep 17 00:00:00 2001 From: maxwell Date: Wed, 23 Jun 2010 12:07:22 -0700 Subject: [PATCH] DG MS fixed js for statusmessage --- public/javascripts/view.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/public/javascripts/view.js b/public/javascripts/view.js index b4f62fa9c..847aa6133 100644 --- a/public/javascripts/view.js +++ b/public/javascripts/view.js @@ -5,12 +5,11 @@ $(document).ready(function(){ plugins : "emotions,spellchecker,advhr,insertdatetime,preview", // Theme options - button# indicated the row# only - theme_advanced_buttons1 : "newdocument,|,bold,italic,underline,|,justifyleft,justifycenter,justifyright,fontselect,fontsizeselect,formatselect", - theme_advanced_buttons2 : "cut,copy,paste|,bullist,numlist,|,outdent,indent|,undo,redo,|,link,unlink,anchor,image,|,code,preview,|,forecolor,backcolor", - theme_advanced_buttons3 : "insertdate,inserttime,|,spellchecker,advhr,,removeformat,|,sub,sup,|,charmap,emotions", + theme_advanced_buttons1 : "newdocument,|,bold,italic,underline,|,justifyleft,justifycenter,justifyright,fontsizeselect,formatselect", + theme_advanced_buttons2 : "cut,copy,paste|,bullist,numlist,|,outdent,indent|,undo,redo,|,link,unlink,anchor,image,|,preview,|,forecolor,backcolor", + theme_advanced_buttons3 : "insertdate,inserttime,|,spellchecker,|,sub,sup,|,charmap,emotions", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", - theme_advanced_statusbar_location : "bottom" //(n.b. no trailing comma in last line of code) //theme_advanced_resizing : true //leave this out as there is an intermittent bug. }); @@ -30,9 +29,7 @@ $(document).ready(function(){ $(this).val("") }); - $('#status_message_submit').click(function() { - $('#status_message_message').val(""); - }); + $('#flash_notice, #flash_error, #flash_alert').delay(1500).slideUp(130);