Browse Source

Merge pull request #4859 from pratu16x7/hotfix

[hotfix] stop notification check in setup
version-14
Prateeksha Singh 7 years ago
committed by GitHub
parent
commit
4ba2713874
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/desk.js

+ 1
- 1
frappe/public/js/frappe/desk.js View File

@@ -233,7 +233,7 @@ frappe.Application = Class.extend({


refresh_notifications: function() { refresh_notifications: function() {
var me = this; var me = this;
if(frappe.session_alive) {
if(frappe.session_alive && frappe.boot && !frappe.boot.in_setup_wizard) {
return frappe.call({ return frappe.call({
method: "frappe.desk.notifications.get_notifications", method: "frappe.desk.notifications.get_notifications",
callback: function(r) { callback: function(r) {


Loading…
Cancel
Save