mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-23 01:43:43 +00:00
commit
9b5cfbb731
2 changed files with 3 additions and 3 deletions
|
@ -983,7 +983,7 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="testNotification" id="testPushbullet-result">Click below to test.</div>
|
<div class="testNotification" id="testPushbullet-result">Click below to test.</div>
|
||||||
<input type="button" class="btn" value="Test Pushbullet." id="testPushbullet" />
|
<input type="button" class="btn" value="Test Pushbullet" id="testPushbullet" />
|
||||||
<input type="submit" class="btn config_submitter" value="Save Changes" />
|
<input type="submit" class="btn config_submitter" value="Save Changes" />
|
||||||
</div><!-- /content_use_pushbullet //-->
|
</div><!-- /content_use_pushbullet //-->
|
||||||
|
|
||||||
|
|
|
@ -261,9 +261,9 @@ $(document).ready(function(){
|
||||||
$("#pushbullet_device_list").html('');
|
$("#pushbullet_device_list").html('');
|
||||||
for (var i = 0; i < devices.length; i++) {
|
for (var i = 0; i < devices.length; i++) {
|
||||||
if(current_pushbullet_device == devices[i].iden) {
|
if(current_pushbullet_device == devices[i].iden) {
|
||||||
$("#pushbullet_device_list").append('<option value="'+devices[i].iden+'" selected>' + devices[i].extras.model + '</option>')
|
$("#pushbullet_device_list").append('<option value="'+devices[i].iden+'" selected>' + devices[i].extras.nickname + '</option>')
|
||||||
} else {
|
} else {
|
||||||
$("#pushbullet_device_list").append('<option value="'+devices[i].iden+'">' + devices[i].extras.model + '</option>')
|
$("#pushbullet_device_list").append('<option value="'+devices[i].iden+'">' + devices[i].extras.nickname + '</option>')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(msg) {
|
if(msg) {
|
||||||
|
|
Loading…
Reference in a new issue