Browse Source

[fix] [ui] user btn

version-14
Rushabh Mehta 10 years ago
parent
commit
a9d0fa04ac
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      frappe/core/doctype/user/user.js

+ 2
- 2
frappe/core/doctype/user/user.js View File

@@ -151,8 +151,8 @@ frappe.RoleEditor = Class.extend({
show_roles: function() {
var me = this;
$(this.wrapper).empty();
var role_toolbar = $('<p><button class="btn btn-default btn-add"></button>\
<button class="btn btn-default btn-remove"></button></p>').appendTo($(this.wrapper));
var role_toolbar = $('<p><button class="btn btn-default btn-add btn-sm" style="margin-right: 5px;"></button>\
<button class="btn btn-sm btn-default btn-remove"></button></p>').appendTo($(this.wrapper));

role_toolbar.find(".btn-add")
.html(__('Add all roles'))


Loading…
Cancel
Save