Skip to content

Commit

Permalink
Ensure there is no restricted size parameter for full screen map clie…
Browse files Browse the repository at this point in the history
…nt view.
  • Loading branch information
Young Hahn committed Jun 1, 2011
1 parent 9306c75 commit 2ad8b64
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion views/MapClient.bones
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ view = Backbone.View.extend({
return this.model.options.uiHost + 'api/wax.json?' + $.param(wax);
},
generateWax: function(callback) {
return _(this.model.wax()).extend({el: $(this.el).attr('id')});
var wax = this.model.wax();
wax.el = $(this.el).attr('id');
wax.size && (delete wax.size);
return wax;
},
record: function(data) {
if (data && data.wax) {
Expand Down

0 comments on commit 2ad8b64

Please sign in to comment.