0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-11-04 22:53:23 +01:00

Small fixes

This commit is contained in:
peteruithoven 2014-04-25 16:52:02 +02:00
parent 0a0ef5bedd
commit 3503c81274
3 changed files with 3 additions and 6 deletions

View File

@ -82,7 +82,7 @@
_statusField.html(statusText);
_actionField.html(actionText);
if(data.status == NetworkAPI.STATUS.CONNECTED) {
if(data.status === NetworkAPI.STATUS.CONNECTED) {
_networkAPI.stopAutoRefresh();
}

View File

@ -67,7 +67,7 @@
console.log(" network: ",network);
linkParams.ssid = network.ssid;
var secured = (network.encryption !== "none" && network.encryption !== "")
var secured = (network.encryption !== "none" && network.encryption !== "");
var link;
var icon = "";
if(secured) {

View File

@ -19,12 +19,9 @@ d3d.util = {
var pair = value.split( "=" );
if ( pair.length > 0 && pair[ 0 ] ) {
parameters[ pair[ 0 ] ] =
( pair.length > 1 ? pair[ 1 ] : true );
( pair.length > 1 ? decodeURIComponent(pair[ 1 ]) : true );
}
});
$.each(parameters, function( index, value ) {
parameters[index] = decodeURIComponent(value)
});
}
return {
parsed: parsed,