This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[fix] move socket init inside app init
version-14
Rushabh Mehta
9 years ago
parent
c6317148bc
commit
b39c9a5318
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/public/js/frappe/desk.js
+1
-0
socketio.js
+ 1
- 1
frappe/public/js/frappe/desk.js
View File
@@ -22,8 +22,8 @@ frappe.Application = Class.extend({
this.startup();
},
startup: function() {
frappe.model.init();
frappe.socket.init();
frappe.model.init();
this.load_bootinfo();
this.make_nav_bar();
this.set_favicon();
+ 1
- 0
socketio.js
View File
@@ -131,6 +131,7 @@ function get_site_name(socket) {
}
function get_hostname(url) {
if (!url) return undefined;
if (url.indexOf("://") > -1) {
url = url.split('/')[2];
}
Write
Preview
Loading…
Cancel
Save