0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-07-01 02:41:21 +02: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); _statusField.html(statusText);
_actionField.html(actionText); _actionField.html(actionText);
if(data.status == NetworkAPI.STATUS.CONNECTED) { if(data.status === NetworkAPI.STATUS.CONNECTED) {
_networkAPI.stopAutoRefresh(); _networkAPI.stopAutoRefresh();
} }

View File

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

View File

@ -19,12 +19,9 @@ d3d.util = {
var pair = value.split( "=" ); var pair = value.split( "=" );
if ( pair.length > 0 && pair[ 0 ] ) { if ( pair.length > 0 && pair[ 0 ] ) {
parameters[ 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 { return {
parsed: parsed, parsed: parsed,