Opened 12 years ago

Closed 12 years ago

#2984 closed defect (fixed)

0.9 InlineEdit box execution error.

Reported by: Jared Jurkiewicz Owned by: Douglas Hays
Priority: high Milestone:
Component: Widgets Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

When using inline edit box, it appears to be calling a function that no longer exists in superclasses or mixins. See FF error:

this.onClick is not a function [Break on this error] undefined

Called in function:

_onClick: function(e){

summary When user clicks the text, then start editing. Hide the text and display the form instead.

if(this.editing
this.disabled){ return; }

this._onMouseOut(); this.editing = true;

show the edit form and hide the read only version of the text this._setEditValue(this._isEmpty ? : this.editable.innerHTML); this._initialText = this._getEditValue(); this._visualize();

this._setEditFocus(); this.saveButton.disabled = true; this.editWidget.onValueChanged = dojo.hitch(this,"checkForValueChange"); this.onClick(); <-- Problem. Function seems to have been removed.

},

Change History (1)

comment:1 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [8542]) Fixes #2983, #2984. Added summary comment to onClick and added a test for an event parameter in save and cancel.

Note: See TracTickets for help on using tickets.