Opened 13 years ago

Closed 13 years ago

#1100 closed defect (duplicate)

FormBind failing to extend with function [init]

Reported by: guest Owned by: anonymous
Priority: high Milestone:
Component: Core Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

Using "Kitchen Sink" Compilation

dojo.io.FormBind? fails on page load with error: "this.init is not a function"

It also cannot access any of the extended properties added by dojo.lang.extend below the function.

Test Page Code: ================== <html> <head>

<title>test</title> <script type="text/javascript" src="/inc/dojo/dojo.js"></script> <script type="text/javascript"> <![CDATA[

dojo.require("dojo.io.*");

function loadBind() {

var x = dojo.io.FormBind?({

formNode: "myForm", load: function(type, data, e) {

alert(data)

}

});

} dojo.addOnLoad(loadBind);

]]> </script>

</head> <body>

<form method="post" action="" id="myForm">

<input type="text" name="inputID" value="" id="inputID"></input> <input type="submit" name="submitButton" value="Submit Test" id="submitButton"></input>

</form>

</body> </html> ===========================

Change History (1)

comment:1 Changed 13 years ago by bill

Resolution: duplicate
Status: newclosed

Dup of #1099

Note: See TracTickets for help on using tickets.