Vishmita Jadeja (openerp) has proposed merging lp:~openerp-dev/openerp-web/trunk-opw-574224-port-vja into lp:openerp-web.
Requested reviews: OpenERP R&D Web Team (openerp-dev-web) For more details, see: https://code.launchpad.net/~openerp-dev/openerp-web/trunk-opw-574224-port-vja/+merge/138936 Hello, Notification message should display on click of company logo when record is unsaved. Thanks. -- https://code.launchpad.net/~openerp-dev/openerp-web/trunk-opw-574224-port-vja/+merge/138936 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openerp-web/trunk-opw-574224-port-vja.
=== modified file 'addons/web/static/src/js/chrome.js' --- addons/web/static/src/js/chrome.js 2012-12-05 12:42:18 +0000 +++ addons/web/static/src/js/chrome.js 2012-12-10 11:22:23 +0000 @@ -1106,6 +1106,11 @@ start: function() { var self = this; return $.when(this._super()).then(function() { + self.$el.on('click','.oe_logo', function(){ + if(self.has_uncommitted_changes()){ + return false + } + }) if (jQuery.param !== undefined && jQuery.deparam(jQuery.param.querystring()).kitten !== undefined) { $("body").addClass("kitten-mode-activated"); if ($.blockUI) {
_______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : openerp-dev-gtk@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp