+ popupErrorDialog: function(responseText) {
+ $("#xos-error-dialog").html(templateFromId("#xos-error-response")($.parseJSON(responseText)));
+ $("#xos-error-dialog").dialog({
+ modal: true,
+ buttons: {
+ Ok: function() { $(this).dialog("close"); }
+ }
+ });
+ },
+