diff --git a/api/js/etemplate/et2_widget_dialog.js b/api/js/etemplate/et2_widget_dialog.js index 3f746e259d..f6f1493ae9 100644 --- a/api/js/etemplate/et2_widget_dialog.js +++ b/api/js/etemplate/et2_widget_dialog.js @@ -444,7 +444,7 @@ var et2_dialog = (function(){ "use strict"; return et2_widget.extend( if(template.indexOf('.xet') > 0) { // File name provided, fetch from server - this.template.load("",template,this.options.value||{}, jQuery.proxy(function() { + this.template.load("",template,this.options.value||{content: {}}, jQuery.proxy(function() { // Set focus to the first input jQuery('input',this.div).first().focus(); },this));