Custom Query (18300 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (97 - 99 of 18300)

Ticket Resolution Summary Owner Reporter
#130 fixed provide system for publishing and allowing comment on system docs Neil Roberts alex
Description

the doc system was released for 0.4.0

#131 fixed Iframe with mimetype text/plain does not return data James Burke Abdur-Rahman
Description

Hi,

I was trying to get fileupload working, and it worked perfect for except one thing. I have no javascript background (only java/c++/c/php/perl) but I didn't get any data back using the handler.

I checked the IframeIO.js file and on line 167 I found the code responsible for returning content, but this didn't work. I tryed to replace "value = ifw.innerHTML;" with "value = ifw.document.body.innerHTML;" and I got the inner html of the body. Don't know how to access the innerHTML of the document or windows object.

I don't know how to work with the xml/javascript object so... couldn't check those..

full code here.....

<html>

<head>

<script language="JavaScript?" type="text/javascript">

Dojo configuration djConfig = { isDebug: true };

</script> <script language="JavaScript?" type="text/javascript"

src="dojo/dojo.js"></script>

<script language="JavaScript?" type="text/javascript">

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

var ctr = 0;

function sendIt(){

var bindArgs = {

formNode: document.getElementById("uploadForm"), mimetype: "text/plain", content: {

increment: ctr++, fileFields: "ul1"

}, handle: function(type, data, evt) {

dojo.debug(type); dojo.debug(data); dojo.debug(evt);

}

}; var request = dojo.io.bind(bindArgs);

}

</script>

</head> <body>

<form action="index.php" id="uploadForm"

method="POST" enctype="multipart/form-data">

<input type="text" name="foo" value="bar"> <input type="file" name="ul1"> <input type="button" onclick="sendIt();" value="send it!">

</form>

</body>

</html>

#132 fixed dojo.io.bind regression with mimetype of text/javascript david dylan
Description

Until recently, the following example worked:

dojo.io.bind({

url: "http://foo.bar.com/sampleData.js", load: function(type, evaldObj){ /* do something */ }, mimetype: "text/javascript"

});

With recent builds, evaldObject returns true, instead of an evaldObject.

-Dylan

Note: See TracQuery for help on using queries.