Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request ezsystems#1096 from joaoinacio/EZP-23480_ezajaxupl…
…oad_error

Fix EZP-23480: Error in json response when uploading file
  • Loading branch information
João Inácio committed Oct 30, 2014
2 parents 3474f3c + 5d28ec0 commit c203f8f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Expand Up @@ -16,6 +16,12 @@
{literal}
(function () {
YUI(YUI3_config).use('ezmodalwindow', 'ezajaxuploader', function (Y) {
// move modal-window outside the form (add it to the body node)
var modalwindow = Y.one('#relation-modal-window');
Y.one(document.body).append( modalwindow.cloneNode(true) );
modalwindow.remove();
var uploaderConf = {
target: {},
open: {
Expand Down
Expand Up @@ -20,6 +20,12 @@
{literal}
(function () {
YUI(YUI3_config).use('ezmodalwindow', 'ezajaxuploader', function (Y) {
// move modal-window outside the form (add it to the body node)
var modalwindow = Y.one('#relationlist-modal-window');
Y.one(document.body).append( modalwindow.cloneNode(true) );
modalwindow.remove();
var uploaderConf = {
target: {},
open: {
Expand Down

0 comments on commit c203f8f

Please sign in to comment.