update dialog image
[Pman.Core] / Pman.Dialog.Image.js
index 50a667b..44df2c4 100644 (file)
@@ -37,7 +37,7 @@ Pman.Dialog.Image = {
 
   this.callback = cb;
   this.data = data;
-  this.dialog.show(this.data._el);
+  this.dialog.show.apply(this.dialog,  Array.prototype.slice.call(arguments).slice(2));
   if (this.form) {
    this.form.reset();
    this.form.setValues(data);