From a3ddd2504332097b2a25bce79d66fa47a66791a1 Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Sun, 8 Feb 2015 16:08:00 +0100 Subject: [PATCH] baculum: Tweak style --- gui/baculum/protected/JavaScript/slide-window.js | 2 +- gui/baculum/protected/Portlets/Console.tpl | 1 + gui/baculum/protected/Portlets/JobList.tpl | 2 +- gui/baculum/protected/Portlets/VolumeList.tpl | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gui/baculum/protected/JavaScript/slide-window.js b/gui/baculum/protected/JavaScript/slide-window.js index 0e6e45998d..9e3f499f87 100644 --- a/gui/baculum/protected/JavaScript/slide-window.js +++ b/gui/baculum/protected/JavaScript/slide-window.js @@ -434,7 +434,7 @@ var SlideWindowClass = Class.create({ var SlideWindow = new SlideWindowClass() document.observe("dom:loaded", function() { - if(Prototype.Browser.IE || Prototype.Browser.Gecko) { + if(Prototype.Browser.IE || Prototype.Browser.Gecko || Prototype.Browser.WebKit) { $$('input[type=checkbox], input[type=submit], input[type=radio], a').each(function(el) { el.observe('focus', function() { el.blur(); diff --git a/gui/baculum/protected/Portlets/Console.tpl b/gui/baculum/protected/Portlets/Console.tpl index eaccc28bb3..d4824dea53 100644 --- a/gui/baculum/protected/Portlets/Console.tpl +++ b/gui/baculum/protected/Portlets/Console.tpl @@ -18,6 +18,7 @@ $('<%=$this->OutputListing->ClientID%>').scrollTop = $('<%=$this->OutputListing->ClientID%>').scrollHeight; $('<%=$this->CommandLine->ClientID%>').disabled = false; + $('<%=$this->CommandLine->ClientID%>').select(); diff --git a/gui/baculum/protected/Portlets/JobList.tpl b/gui/baculum/protected/Portlets/JobList.tpl index cdde59509b..d7ccc5dd7d 100644 --- a/gui/baculum/protected/Portlets/JobList.tpl +++ b/gui/baculum/protected/Portlets/JobList.tpl @@ -21,7 +21,7 @@ ItemStyle.CssClass="slide-window-element" AlternatingItemStyle.CssClass="slide-window-element-alternating" > - + diff --git a/gui/baculum/protected/Portlets/VolumeList.tpl b/gui/baculum/protected/Portlets/VolumeList.tpl index 5bb6f0a277..d3c7a7e1ed 100644 --- a/gui/baculum/protected/Portlets/VolumeList.tpl +++ b/gui/baculum/protected/Portlets/VolumeList.tpl @@ -24,7 +24,7 @@ ItemStyle.CssClass="slide-window-element" AlternatingItemStyle.CssClass="slide-window-element-alternating" > - + -- 2.39.5