minor stuff
This commit is contained in:
parent
d6721a539d
commit
58eaf53c9c
2 changed files with 5 additions and 3 deletions
|
@ -138,8 +138,10 @@
|
||||||
'username': settings.credentials.username,
|
'username': settings.credentials.username,
|
||||||
'password': (settings.credentials.authstring != "" ? MD5(MD5(settings.credentials.password) + settings.credentials.authstring) : "" )
|
'password': (settings.credentials.authstring != "" ? MD5(MD5(settings.credentials.password) + settings.credentials.authstring) : "" )
|
||||||
},
|
},
|
||||||
'capabilities': {}
|
'capabilities': {},
|
||||||
|
'conversion': {'query': settings.settings.conversion.query}
|
||||||
};
|
};
|
||||||
|
console.log('sending data:',data);
|
||||||
$.ajax(
|
$.ajax(
|
||||||
{
|
{
|
||||||
'url': settings.server,
|
'url': settings.server,
|
||||||
|
@ -152,7 +154,7 @@
|
||||||
'error': function(){},
|
'error': function(){},
|
||||||
'success': function(d)
|
'success': function(d)
|
||||||
{
|
{
|
||||||
|
console.log('receiving data:',d);
|
||||||
var ret = $.extend(true,
|
var ret = $.extend(true,
|
||||||
{
|
{
|
||||||
"streams": {},
|
"streams": {},
|
||||||
|
|
|
@ -879,7 +879,7 @@
|
||||||
|
|
||||||
$('#page').append(
|
$('#page').append(
|
||||||
$('<div>').attr('id', 'editserver').append(
|
$('<div>').attr('id', 'editserver').append(
|
||||||
$('<label>').attr('for', 'stream-edit-name').text('name').append(
|
$('<label>').attr('for', 'stream-edit-name').text('name [case insensitive, no special chars]').append(
|
||||||
$('<input>').attr('type', 'text').attr('placeholder', 'NAME').attr('id', 'stream-edit-name').attr('value', sdata.name)
|
$('<input>').attr('type', 'text').attr('placeholder', 'NAME').attr('id', 'stream-edit-name').attr('value', sdata.name)
|
||||||
)
|
)
|
||||||
).append(
|
).append(
|
||||||
|
|
Loading…
Add table
Reference in a new issue