diff options
author | thlo <t.lohmar@gmx.de> | 2012-12-29 14:16:45 +0100 |
---|---|---|
committer | thlo <t.lohmar@gmx.de> | 2012-12-29 14:16:45 +0100 |
commit | 1dddd64ad226c64efb8574047c61b7e124f60524 (patch) | |
tree | 7028d9e95a5580380cca78323aeec04fac3022fe /smarttv-client/Javascript/Config.js | |
parent | c822638483774188f436ff7019112d2502c5a141 (diff) | |
download | vdr-plugin-smarttvweb-1dddd64ad226c64efb8574047c61b7e124f60524.tar.gz vdr-plugin-smarttvweb-1dddd64ad226c64efb8574047c61b7e124f60524.tar.bz2 |
Increase JavaScript robustness.
Diffstat (limited to 'smarttv-client/Javascript/Config.js')
-rwxr-xr-x | smarttv-client/Javascript/Config.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/smarttv-client/Javascript/Config.js b/smarttv-client/Javascript/Config.js index 518c6e6..c260be1 100755 --- a/smarttv-client/Javascript/Config.js +++ b/smarttv-client/Javascript/Config.js @@ -42,6 +42,13 @@ Config.init = function () { if (this.deviceType == 0) {
// This is a Samsung Smart TV
+ if (this.serverUrl != "") {
+ // Hardcoded server URL. Done with config
+ Main.log ("Hardcoded server URL. Done with config");
+ Config.fetchConfig();
+ return;
+ }
+
try {
this.cfgFileName = curWidget.id + "/config.dta";
}
|