comment out details button + dialog in request error handler

This commit is contained in:
rlx 2011-11-10 09:06:58 +00:00
parent 724561a373
commit 76a79c669d

View file

@ -145,6 +145,7 @@ Ox.Request = function(options) {
}
}
/*
function debug(request) {
var $iframe = $('<iframe>')
.css({ // fixme: should go into a class
@ -173,6 +174,7 @@ Ox.Request = function(options) {
iframe.write(request.responseText);
iframe.close();
}
*/
function complete(request) {
var $dialog, data, error;
@ -243,6 +245,7 @@ Ox.Request = function(options) {
setTimeout(function() {
$dialog = Ox.Dialog({
buttons: [
/*
Ox.Button({
id: 'details',
title: 'Details'
@ -254,6 +257,7 @@ Ox.Request = function(options) {
});
}
}),
*/
Ox.Button({
id: 'close',
title: 'Close'