2015-06-02 12:12:47 +00:00
|
|
|
$(document).ready(function() {
|
|
|
|
|
2015-06-17 11:40:46 +00:00
|
|
|
$('#fileSharingSettings button.pop-up').click(function() {
|
2015-06-02 12:12:47 +00:00
|
|
|
var url = $(this).data('url');
|
|
|
|
if (url) {
|
|
|
|
var width = 600;
|
|
|
|
var height = 400;
|
|
|
|
var left = (screen.width/2)-(width/2);
|
|
|
|
var top = (screen.height/2)-(height/2);
|
|
|
|
|
|
|
|
window.open(url, 'name', 'width=' + width + ', height=' + height + ', top=' + top + ', left=' + left);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|