comment out details button + dialog in request error handler
This commit is contained in:
parent
724561a373
commit
76a79c669d
1 changed files with 4 additions and 0 deletions
|
@ -145,6 +145,7 @@ Ox.Request = function(options) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
function debug(request) {
|
function debug(request) {
|
||||||
var $iframe = $('<iframe>')
|
var $iframe = $('<iframe>')
|
||||||
.css({ // fixme: should go into a class
|
.css({ // fixme: should go into a class
|
||||||
|
@ -173,6 +174,7 @@ Ox.Request = function(options) {
|
||||||
iframe.write(request.responseText);
|
iframe.write(request.responseText);
|
||||||
iframe.close();
|
iframe.close();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
function complete(request) {
|
function complete(request) {
|
||||||
var $dialog, data, error;
|
var $dialog, data, error;
|
||||||
|
@ -243,6 +245,7 @@ Ox.Request = function(options) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$dialog = Ox.Dialog({
|
$dialog = Ox.Dialog({
|
||||||
buttons: [
|
buttons: [
|
||||||
|
/*
|
||||||
Ox.Button({
|
Ox.Button({
|
||||||
id: 'details',
|
id: 'details',
|
||||||
title: 'Details'
|
title: 'Details'
|
||||||
|
@ -254,6 +257,7 @@ Ox.Request = function(options) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
*/
|
||||||
Ox.Button({
|
Ox.Button({
|
||||||
id: 'close',
|
id: 'close',
|
||||||
title: 'Close'
|
title: 'Close'
|
||||||
|
|
Loading…
Reference in a new issue