app/assets/javascripts/cms/fortress/media.js.coffee in cms-fortress-1.1.8 vs app/assets/javascripts/cms/fortress/media.js.coffee in cms-fortress-1.2.0
- old
+ new
@@ -9,21 +9,21 @@
this.othersPath
showImageDialog: (ed) ->
this.ed = ed
this.dlg.modal(show: true, backdrop: false)
- .css("left", $(document).width() - (this.dlg.width() / 2))
+ #.css("left", $(document).width() - (this.dlg.width() / 2))
.find(".title").html("Image Selector")
$("#modal-body").html(this.loading).load this.imagesPath, ->
media.attachImageEvents()
showVideoDialog: (ed) ->
this.ed = ed
this.dlg.modal(show: true, backdrop: false)
- .css("left", $(document).width() - (this.dlg.width() / 2))
+ #.css("left", $(document).width() - (this.dlg.width() / 2))
.find(".title").html("Video Selector")
$("#modal-body").html(this.loading).load this.videosPath, ->
media.attachVideoEvents()