[IMP] full working traceback dialog
bzr revid: rlo@openerp.com-20111223131911-lg1xjek2afvhkf41
This commit is contained in:
parent
9d50e87a25
commit
ca87c95f3c
|
@ -192,6 +192,7 @@ openerp.web.ServerError = openerp.web.Dialog.extend({
|
||||||
{
|
{
|
||||||
text: _t("Send to OpenERP Enterprise Team"),
|
text: _t("Send to OpenERP Enterprise Team"),
|
||||||
click: function() {
|
click: function() {
|
||||||
|
$this = $(this);
|
||||||
var issuename = $('#issuename').val();
|
var issuename = $('#issuename').val();
|
||||||
var explanation = $('#explanation').val();
|
var explanation = $('#explanation').val();
|
||||||
var remark = $('#remark').val();
|
var remark = $('#remark').val();
|
||||||
|
@ -200,7 +201,7 @@ openerp.web.ServerError = openerp.web.Dialog.extend({
|
||||||
if (result === false) {
|
if (result === false) {
|
||||||
alert('There was a communication error.')
|
alert('There was a communication error.')
|
||||||
} else {
|
} else {
|
||||||
$(this).dialog('close');
|
$this.dialog('close');
|
||||||
}
|
}
|
||||||
console.log(arguments);
|
console.log(arguments);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue