diff --git a/oform/OForm.js b/oform/OForm.js index c827e19..fa31488 100644 --- a/oform/OForm.js +++ b/oform/OForm.js @@ -460,7 +460,7 @@ { if (!this.NeedUpdateRoles) return; - + this.NeedUpdateRoles = false; this.Roles = []; @@ -552,6 +552,11 @@ this.updateRoles(); this.checkRedraw(); }; + OForm.prototype.onUndoRedo = function() + { + this.updateRoles(); + this.checkRedraw(); + }; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Private area ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////