| |   |
| 2 | 2 | =================================================================== |
| 3 | 3 | --- .orig/usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js |
| 4 | 4 | +++ /usr/lib/luna/system/luna-systemui/app/controllers/bar-assistant.js |
| @@ -817,6 +817,8 @@ handletelephonyNotifications: function(p |
| @@ -793,6 +793,8 @@ handletelephonyNotifications: function(p |
| 6 | 6 | this.callForwardNotificationSession = null; |
| 7 | 7 | } |
| 8 | 8 | } |
| … | … | |
| 11 | 11 | } |
| 12 | 12 | else if (payload.eventNetwork && this.phoneRadioState) { |
| 13 | 13 | var networkMsg = payload.eventNetwork; |
| @@ -2647,6 +2649,10 @@ getCurrentWiFiState: function() { |
| @@ -2579,6 +2581,10 @@ getCurrentWiFiState: function() { |
| 15 | 15 | return this.wifiState; |
| 16 | 16 | }, |
| 17 | 17 | |
| … | … | |
| 34 | 34 | |
| 35 | 35 | var DevicemenuAssistant = Class.create({ |
| 36 | 36 | |
| @@ -39,6 +39,8 @@ var DevicemenuAssistant = Class.create({ |
| @@ -36,6 +36,8 @@ var DevicemenuAssistant = Class.create({ |
| 38 | 38 | this.drawerModel = {myOpenProperty:false}; |
| 39 | 39 | this.controller.setupWidget('wifidetails', {modelProperty:'myOpenProperty'}, this.drawerModel); |
| 40 | 40 | this.controller.setupWidget('btdetails', {modelProperty:'myOpenProperty'}, this.drawerModel); |
| … | … | |
| 43 | 43 | this.wifidrawer = this.controller.get('wifidetails'); |
| 44 | 44 | this.btdrawer = this.controller.get('btdetails'); |
| 45 | 45 | |
| @@ -95,6 +97,17 @@ var DevicemenuAssistant = Class.create({ |
| @@ -92,6 +94,17 @@ var DevicemenuAssistant = Class.create({ |
| 47 | 47 | else |
| 48 | 48 | this.controller.get('wifimsg').innerHTML = wifistate.escapeHTML(); |
| 49 | 49 | } |
| … | … | |
| 61 | 61 | this.controller.listen(this.controller.document, Mojo.Event.deactivate, this.close.bindAsEventListener(this)); |
| 62 | 62 | this.isVisible = true; |
| 63 | 63 | |
| @@ -118,6 +131,8 @@ var DevicemenuAssistant = Class.create({ |
| @@ -115,6 +128,8 @@ var DevicemenuAssistant = Class.create({ |
| 65 | 65 | this.controller.get('btlist').addEventListener(Mojo.Event.listTap,this.handleBTTap.bindAsEventListener(this)); |
| 66 | 66 | this.controller.get('dm_wifi').addEventListener(Mojo.Event.tap, this.togglewifiList.bindAsEventListener(this)); |
| 67 | 67 | this.controller.get('dm_bluetooth').addEventListener(Mojo.Event.tap, this.togglebluetoothList.bindAsEventListener(this)); |
| … | … | |
| 70 | 70 | this.controller.get('wifi_radio').addEventListener(Mojo.Event.tap, this.toggleWifiRadio.bindAsEventListener(this)); |
| 71 | 71 | this.controller.get('bt_radio').addEventListener(Mojo.Event.tap, this.toggleBTRadio.bindAsEventListener(this)); |
| 72 | 72 | this.controller.get('bt_pref').addEventListener(Mojo.Event.tap,this.handleBluetoothLaunch.bindAsEventListener(this)); |
| @@ -177,6 +192,49 @@ var DevicemenuAssistant = Class.create({ |
| @@ -174,6 +189,49 @@ var DevicemenuAssistant = Class.create({ |
| 74 | 74 | } |
| 75 | 75 | this.apModeInProgress = false; |
| 76 | 76 | }, |
| … | … | |
| 120 | 120 | |
| 121 | 121 | toggleBTRadio: function(event) { |
| 122 | 122 | if(RadioState.get('bluetooth')) { |
| @@ -891,6 +949,10 @@ var DevicemenuAssistant = Class.create({ |
| @@ -881,6 +939,10 @@ var DevicemenuAssistant = Class.create({ |
| 124 | 124 | |
| 125 | 125 | close: function() { |
| 126 | 126 | |
| … | … | |
| 155 | 155 | + |
| 156 | 156 | + <div class="palm-section-divider"></div> |
| 157 | 157 | + |
| <div id="dm_airplanemode" class="palm-row last menu-end" x-mojo-tap-highlight='momentary'><div class="palm-row-wrapper"> |
| <div id="dm_airplanemode" class="palm-row last" x-mojo-tap-highlight='momentary'><div class="palm-row-wrapper"> |
| 159 | 159 | <div id="dm_airplanemode_status" class="title truncating-text"> |
| 160 | 160 | </div> |