Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#767 closed defect (fixed)

validate has two conflicting definitions of fillInTemplate

Reported by: dylan Owned by: dylan
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

why are there to fillInTemplate methods defined here?

	fillInTemplate: function() {
		// Attach isMissing and isValid methods to the textbox.
		// We may use them later in connection with a submit button widget.
		// TODO: this is unorthodox; it seems better to do it another way -- Bill
		this.textbox.isValid = function() { this.isValid.call(this); };
		this.textbox.isMissing = function() { this.isMissing.call(this); };
	},

	fillInTemplate: function() {
		// apply any filters to initial value
		this.filter();

		// highlight textbox as valid or invalid
		this.highlight(); 

		// show missing or invalid messages on init
		this.update(); 
	}

Change History (3)

comment:1 Changed 13 years ago by dylan

Owner: changed from anonymous to dylan
Status: newassigned

comment:2 Changed 13 years ago by dylan

Resolution: fixed
Status: assignedclosed

fixed in [5319]

comment:3 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.