Mercurial > libervia-web
comparison src/browser/sat_browser/notification.py @ 599:a6b9809b9a68 frontends_multi_profiles
merged souliane commits
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 06 Feb 2015 19:31:30 +0100 |
parents | e11e34ac0f67 |
children | 03e9fe91081c |
comparison
equal
deleted
inserted
replaced
598:ed6d8f7c6026 | 599:a6b9809b9a68 |
---|---|
87 self.enabled = true; //need to use self instead of this | 87 self.enabled = true; //need to use self instead of this |
88 }); | 88 }); |
89 """) | 89 """) |
90 wnd().onclick = self._old_click | 90 wnd().onclick = self._old_click |
91 | 91 |
92 def onFocus(self): | 92 def onFocus(self, event=None): |
93 Window.setTitle(self._orig_title) | 93 Window.setTitle(self._orig_title) |
94 self._notif_count = 0 | 94 self._notif_count = 0 |
95 | 95 |
96 # def onBlur(self): | 96 # def onBlur(self, event=None): |
97 # pass | 97 # pass |
98 | 98 |
99 def isHidden(self): | 99 def isHidden(self): |
100 JS("""return document.hidden;""") | 100 JS("""return document.hidden;""") |
101 | 101 |