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) {
|
||||
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'
|
||||
|
|
Loading…
Reference in a new issue