Author: scottbw
Date: Mon Mar 14 15:02:18 2011
New Revision: 1081411

URL: http://svn.apache.org/viewvc?rev=1081411&view=rev
Log:
Make sure the Freeder widget gets the right form input - though it still won't 
refresh properly yet

Modified:
    incubator/wookie/trunk/widgets/freeder/index.html
    incubator/wookie/trunk/widgets/freeder/scripts/properties.js

Modified: incubator/wookie/trunk/widgets/freeder/index.html
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/freeder/index.html?rev=1081411&r1=1081410&r2=1081411&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/freeder/index.html (original)
+++ incubator/wookie/trunk/widgets/freeder/index.html Mon Mar 14 15:02:18 2011
@@ -54,7 +54,7 @@
                        <form action="" method="post">
                                <div data-role="fieldcontain">
                                                <label for="feedURL">Feed 
URL:</label>
-                                               <input type="url" name="name" 
id="name"  />
+                                               <input type="url" 
name="feedURL" id="feedURL"  />
                                        </div>
                                        <div data-role="fieldcontain">
                                                <button type="submit" 
onClick="Properties.submitForm(this.form)" value="save-settings" 
name="save-settings">Save</button>

Modified: incubator/wookie/trunk/widgets/freeder/scripts/properties.js
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/freeder/scripts/properties.js?rev=1081411&r1=1081410&r2=1081411&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/freeder/scripts/properties.js (original)
+++ incubator/wookie/trunk/widgets/freeder/scripts/properties.js Mon Mar 14 
15:02:18 2011
@@ -21,7 +21,7 @@
 var Properties = {
        
        submitForm: function() {
-               var url = dwr.util.getValue("feedURL");
+               var url =  $("#feedURL").val();
                Widget.preferences.setItem("feedURL", url);
                Controller.update();
                $.mobile.changePage("#storiesIndex");


Reply via email to