1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-18 07:52:21 +01:00

Append crop dialog to '#content' instead of 'body'. Refs #453

This commit is contained in:
Thomas Tanghus 2014-03-25 15:08:04 +01:00
parent bf2a37f2a5
commit 94812f0101

View File

@ -1598,7 +1598,7 @@ OC.notify = function(params) {
if(!this.$cropBoxTmpl) {
this.$cropBoxTmpl = $('#cropBoxTemplate');
}
var $container = $('<div />').appendTo($('body'));
var $container = $('<div />').appendTo($('#content'));
var $dlg = this.$cropBoxTmpl.octemplate().prependTo($container);
$.when(this.storage.getTempContactPhoto(