sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 14871 - http://anonsvn.icesoft.org/repo / icefaces / trunk / icefaces / bridge / src / submit.js
Unified Diff View - submit.js
/icefaces/trunk/icefaces/bridge/src/submit.js @ revision 14870
/icefaces/trunk/icefaces/bridge/src/submit.js @ revision 14871
@@ -44,8 +44,10 @@         }         if (component && component.id) {             var c = $element(component); -            c.serializeOn(query); -            c.serializeViewOn(query); +            if (c.isSubmit()) { +                c.serializeOn(query); +                c.serializeViewOn(query); +            }         }     }).send();     resetHiddenFieldsFor(form); @@ -81,7 +83,7 @@         Ice.Parameter.Query.create(function(query) {             query.add('ice.submit.partial', false);             event.serializeOn(query); -            if (component) { +            if (component && component.isSubmit()) {                 component.serializeOn(query);                 component.serializeViewOn(query);             }


feed icon

sventon 2.5.1