Skip to content

Commit

Permalink
module.js: if its a new media set initial values for hidden fields to…
Browse files Browse the repository at this point in the history
… 0,0 (otherwise they are 'Position X' and 'Position Y').
  • Loading branch information
John committed Dec 28, 2012
1 parent 6dcec5b commit 7cb6dad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions module.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ M.local_slideshow = {
this.mediaOutline.setXY([this.slide.get("region").left + x, this.slide.get("region").top + y]);
}
else {
this.Y.one("input[name=mediaX]").set("value", "0");
this.Y.one("input[name=mediaY]").set("value", "0");
this.mediaOutline.setXY([this.slide.get("region").left, this.slide.get("region").top]);
}

Expand Down

0 comments on commit 7cb6dad

Please sign in to comment.