From 327ee46a29eabe9e2b41994d4a509098f3262d84 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Fri, 26 Jul 2013 16:59:37 +0530 Subject: [PATCH] [cleanup] [minor] Show form related actions in File menu before general actions [issue] webnotes/erpnext#625 --- public/js/wn/ui/appframe.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/wn/ui/appframe.js b/public/js/wn/ui/appframe.js index edc75736e5..b7708a2299 100644 --- a/public/js/wn/ui/appframe.js +++ b/public/js/wn/ui/appframe.js @@ -228,7 +228,7 @@ wn.ui.AppFrame = Class.extend({ menu = typeof menu == "string" ? this.get_menu(menu) : menu; - $('
  • ').appendTo(menu); + $('
  • ').prependTo(menu); }, add_dropdown_button: function(parent, label, click, icon) { var menu = this.get_menu(parent); @@ -238,7 +238,7 @@ wn.ui.AppFrame = Class.extend({ return $('
  • '+label+'
  • ') - .appendTo(menu) + .insertBefore(menu.find(".divider")) .find("a") .click(function() { click();