Missing session context in expr_eval
This commit is contained in:
1 parent
dd0416c46a
commit
f65ab75670
1 file changed
+1
-1
+1
-1
@@ -726,7 +726,7 @@
|
||||
expr_eval: function(expr) {
|
||||
if (typeof(expr) != 'string') return expr;
|
||||
var ctx = jQuery.extend({}, this.get_context());
|
||||
ctx.context = jQuery.extend({}, ctx);
|
||||
ctx.context = jQuery.extend(this.model.session.context, ctx);
|
||||
jQuery.extend(ctx, this.get_eval());
|
||||
ctx.active_model = this.model.name;
|
||||
ctx.active_id = this.id;
|
||||
|
||||
Reference in new issue
Block a user