Added two jinja2 template macro for support for priviliges and default

privileges.

Also, made a change in the privilege.js to scroll the div to make the
opening div visible properly.
This commit is contained in:
Harshal Dhumal
2016-01-22 18:06:54 +05:30
committed by Ashesh Vashi
parent 7f3c972d06
commit d0f7e69ad7
3 changed files with 29 additions and 0 deletions

View File

@@ -272,6 +272,10 @@
$(self.$el.find('input[type=checkbox]')).on('blur',function() {
self.$el.blur();
});
// Make row visible in when entering in edit mode.
$(self.$el).pgMakeVisible('backform-tab');
self.delegateEvents();
return this;