Author: jablko
Date: Wed Oct  7 11:55:05 2009
New Revision: 3681

Log:
Restore dataType: 'json' - jQuery only intelligently guesses 'html' or 'xml', 
it doesn't intelligently guess 'json' based on the response content type, 
http://docs.jquery.com/Ajax/jQuery.ajax#options, fixes issue 1052

Modified:
   trunk/web/js/treeView.js

Modified: trunk/web/js/treeView.js
==============================================================================
--- trunk/web/js/treeView.js    Wed Oct  7 00:02:41 2009        (r3680)
+++ trunk/web/js/treeView.js    Wed Oct  7 11:55:05 2009        (r3681)
@@ -84,6 +84,7 @@
         jQuery.ajax({
 
           data: { id: nodeId },
+          dataType: 'json',
           timeout: 7000,
           url: Qubit.treeView.Url,
 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to