#1018 ✓resolved
Tim Griffin

Hobo 1.4: Unable to override spinner attributes as documented

Reported by Tim Griffin | July 3rd, 2012 @ 04:18 PM

CHANGES1.4.txt explains that the options spinner-at (or spinner-next-to) and spinner-options can be specified as global defaults by extending the tag:

     <extend tag="page">
       <old-page merge>
         <page-scripts: spinner-at="#header" spinner-options="&{:my => 'left top', :at => 'left top'}" />
       </old-page>
     </extend>

These options are being ignored, and it seems impossible to control the position of the spinner, globally or specifically on (for example) a delete-button.

In the attached project, the page has been extended in application.dryml as follows:

<extend tag="page">
  <old-page merge without-live-search>
    <header: replace> 
      <div id="mytarget">
        <h2>Projects</h2>
      </div>
      <header restore/>
    </header:>
    <page-scripts: spinner-at="#mytarget" spinner-options="&{:my => 'left top', :at => 'left top'}" />
  </old-page>
</extend>

On viewing Projects#index, deleting a project should be showing a spinner at near the mytarget div, but it does not.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Attachments

Pages