Opened 12 years ago

Last modified 8 years ago

#6212 closed defect

Cannot define ItemFileWriteStore._saveCustom with dojo/method SCRIPT tag — at Initial Version

Reported by: ptwobrussell Owned by: anonymous
Priority: low Milestone: future
Component: Data Version: 1.0
Keywords: Cc: [email protected]
Blocked By: Blocking:


I noticed tonight (r13076) that doing something like

<div dojoType="" url="/foobar" jsId="fooStore">
    <script type="dojo/method" event="_saveCustom" args="saveCompleteCallback, saveFailedCallback">

doesn't actually do anything. After you supposedly wire it up, you can go into Firebug and execute fooStore._saveCustom and you won't get anything back. However, if you rig that same thing up in dojoAddOnLoad by directly assigning an anonymous functionto fooStore._saveCustom, then all is well (obviously.)

The only telling sign I noticed is that _saveCustom isn't explicitly defined in ItemFileWriteStore?...but I thought that the dojo/method scripts should have worked I'll log this as a Core problem (?)

Change History (0)

Note: See TracTickets for help on using tickets.