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
-
Bryan Larsen July 4th, 2012 @ 10:25 PM
(from [5a946a646d00be24b8a66a699443b07feeb39ffc]) [#1018] global spinner attributes not propogating https://github.com/tablatom/hobo/commit/5a946a646d00be24b8a66a69944...
-
Bryan Larsen September 4th, 2012 @ 04:23 PM
- State changed from new to resolved
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป