app/assets/javascripts/social_stream/wall.js in social_stream-base-2.0.0.beta3 vs app/assets/javascripts/social_stream/wall.js in social_stream-base-2.0.0
- old
+ new
@@ -28,18 +28,22 @@
form.data('actions').push(form.attr('action'));
form.attr('action', path);
}
};
+ var changeParams = function(type) {
+ SS.Object.changeOwner(type, $('.wall_input form'));
+ SS.Object.changeRelationSelect(type, $('.wall_input form'));
+ };
+
callback.register('show',
initInputAutosize,
SS.Object.new_);
callback.register('new_',
resetWallInput);
return callback.extend({
changeAction: changeAction,
- changeOwner: SS.Object.changeOwner,
- changeRelationSelect: SS.Object.changeRelationSelect
+ changeParams: changeParams
});
}) (SocialStream, jQuery);