Rebuild packaged javascript and remove old generic spinner HTML, and remove a reference to hide it.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@669 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2007-12-03 03:27:18 +00:00
parent 4b3ba0dd6a
commit e39287230f
3 changed files with 2 additions and 5 deletions

View file

@ -32,7 +32,7 @@ window.onload=function(){
<% if @count %>
<span id="badge_count" class="badge"><%= @count %></span>
<% end %>
<%= user_time.strftime(@prefs.title_date_format) %> <%= image_tag("spinner.gif", :size => "16X16", :border => 0, :id => 'busy', :style => 'display:none' ) %>
<%= user_time.strftime(@prefs.title_date_format) %>
</h1>
</div>
<div id="minilinks">

View file

@ -8,4 +8,3 @@ page.select('#project_status .completed span').each do |element|
element.className = @project.current_state == :completed ? 'active_state' : 'inactive_state'
end
page.notify :notice, "Set project status to #{@project.current_state}", 5.0
page.hide 'busy'

View file

@ -369,9 +369,7 @@ this.editField=this.cached_selectTag;if(this.options.loadTextURL)this.loadExtern
var TracksForm={toggle:function(toggleDivId,formContainerId,formId,hideLinkText,hideLinkTitle,showLinkText,showLinkTitle){$(formContainerId).toggle();toggleDiv=$(toggleDivId);toggleLink=toggleDiv.down('a');if(toggleDiv.hasClassName('hide_form')){toggleLink.update(showLinkText).setAttribute('title',showLinkTitle);}
else{toggleLink.update(hideLinkText).setAttribute('title',hideLinkTitle);Form.focusFirstElement(formId);}
toggleDiv.toggleClassName('hide_form');}}
Ajax.Responders.register({onCreate:function(){if($('busy')&&Ajax.activeRequestCount>0)
Effect.Appear('busy',{duration:0.5,queue:'end'});},onComplete:function(){if($('busy')&&Ajax.activeRequestCount==0)
Element.hide('busy');}});Event.observe(window,'load',function(){$A(document.getElementsByClassName('alert')).each(function(o){o.opacity=100.0
Event.observe(window,'load',function(){$A(document.getElementsByClassName('alert')).each(function(o){o.opacity=100.0
Effect.Fade(o,{duration:8.0})});});CookieManager=Class.create();CookieManager.prototype={BROWSER_IS_IE:(document.all&&window.ActiveXObject&&navigator.userAgent.toLowerCase().indexOf("msie")>-1&&navigator.userAgent.toLowerCase().indexOf("opera")==-1),BROWSER_IS_OPERA:(navigator.userAgent.toLowerCase().indexOf("opera")!=-1),initialize:function(options)
{this.options=Object.extend({shelfLife:365,userData:false},options||{});this.cookieShelfLife=this.options.shelfLife;this.userDataForIE=this.options.userData;if(this.BROWSER_IS_IE&&this.userDataForIE)
{this.IE_CACHE_NAME="storage";if($(this.IE_CACHE_NAME)==null)