Merge branch 'edge' of github.com:webnotes/erpnext into edge
diff --git a/accounts/page/accounts_browser/accounts_browser.js b/accounts/page/accounts_browser/accounts_browser.js
index 97c8554..2e8cc82 100644
--- a/accounts/page/accounts_browser/accounts_browser.js
+++ b/accounts/page/accounts_browser/accounts_browser.js
@@ -159,7 +159,7 @@
rename: function() {
var node = this.selected_node();
wn.model.rename_doc(this.ctype, node.data('label'), function(new_name) {
- node.data('label', new_name).find(".tree-label").html(new_name);
+ node.parents("ul:first").parent().find(".tree-link:first").trigger("reload");
});
},
delete: function() {
diff --git a/website/doctype/style_settings/custom_template.css b/website/doctype/style_settings/custom_template.css
index e2c0db5..fcb2276 100644
--- a/website/doctype/style_settings/custom_template.css
+++ b/website/doctype/style_settings/custom_template.css
@@ -76,9 +76,13 @@
box-shadow: none;
}
-{% if doc.top_bar_background == doc.page_background %}.navbar-inner {
- border-bottom: 1px solid #{{ get_hex_shade(doc.page_background or "ffffff", 15) }};
-}{% endif %}
+.navbar-inner {
+ border-bottom: 1px solid {% if doc.top_bar_background == doc.page_background -%}
+ #{{ get_hex_shade(doc.page_background or "ffffff", 15) }};
+ {%- else -%}
+ transparent;
+ {%- endif %}
+}
.navbar-inverse .brand,
.navbar-inverse .brand:hover,