Ok, so I reduced the variables in this as much as possible. made the part a 
tiny piece of the card with no logic in it at all, and now I get an RJS 
error, which is something at least.

Here's the error I get, in two alerts:
 RJS error:

ReferenceError: _update is not defined

_update("milestone-milestone:73", "\n    Due: 2011-02-02<br>\n  Complete: 
2011-02-02<br> \n  \n  ");

I can't find  a reference to _update in any of the js files. There is var 
name_updater in controls.js, and references to "update.style.position = 
'absolute'; ", but nothing for _update. Is this a bug, and if so where would 
I correct it?


Card definition:

<def tag="card" for="Milestone">
 <card class="milestone" param="default" merge>
    <header:>
      <h4 param="heading"><a><name/></a></h4>
    </header:>
    <body:>
    <div part="milestone-data" id="milestone-data-#{typed_id}">
    Due: <this.target-date/><br/>
  Complete: <this.completion-date/><br/> 
  
  </div>
    Belongs to: <a if="&this.user" with="&this.user"><name/></a> <a 
with="&this.group"><name/></a>
    <if test="&this.completion_date == nil">
         <update-button fields="&{:completion_date => Date.today()}" 
update="milestone-data-#{typed_id}" label="mark done" confirm="are you 
sure?"/>
    </if>
    </body>
  </card>
</def>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to