Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

module.js: if its a new media set initial values for hidden fields to…

… 0,0 (otherwise they are 'Position X' and 'Position Y').
  • Loading branch information...
commit 7cb6dad971f43cb00bf9ce611a63a05ef23833b6 1 parent 6dcec5b
@PBSLjohn authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  module.js
View
2  module.js
@@ -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]);
}
Please sign in to comment.
Something went wrong with that request. Please try again.