Don't raise popup when there is no tree_open action for the row
This commit is contained in:
1 parent
144ed9a86c
commit
d8529fc404
2 files changed
+5
-1
No files matched your search
@@ -92,6 +92,10 @@
|
||||
alwaysask = false;
|
||||
}
|
||||
var prm = jQuery.Deferred();
|
||||
if (jQuery.isEmptyObject(values)) {
|
||||
prm.fail();
|
||||
return prm;
|
||||
}
|
||||
var keys = Object.keys(values).sort();
|
||||
if ((keys.length == 1) && (!alwaysask)) {
|
||||
var key = keys[0];
|
||||
|
||||
+1
-1
@@ -863,7 +863,7 @@
|
||||
'model': this.model_name,
|
||||
'id': this.get_id(),
|
||||
'ids': [this.get_id()]
|
||||
}, jQuery.extend({}, this.context));
|
||||
}, jQuery.extend({}, this.context), false);
|
||||
} else {
|
||||
this.switch_view('form');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user