OLD | NEW |
1 function init() | 1 function init() |
2 { | 2 { |
3 try | 3 try |
4 { | 4 { |
5 initLanguageSettings(); | 5 initLanguageSettings(); |
6 | 6 |
7 initDomainSettings(); | 7 initDomainSettings(); |
8 } | 8 } |
9 catch (err) | 9 catch (err) |
10 { | 10 { |
11 alert("err: " + err); | 11 // alert("err: " + err); |
12 } | 12 } |
13 } | 13 } |
14 | 14 |
15 function setElementText(id, key) | 15 function setElementText(id, key) |
16 { | 16 { |
17 var el = document.getElementById(id); | 17 var el = document.getElementById(id); |
18 if (el) | 18 if (el) |
19 { | 19 { |
20 var text = UserSettings().GetMessage(key); | 20 var text = UserSettings().GetMessage(key); |
21 if (text) | 21 if (text) |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 optionsDomain.remove(removeOptions[i]); | 130 optionsDomain.remove(removeOptions[i]); |
131 } | 131 } |
132 }, false); | 132 }, false); |
133 } | 133 } |
134 | 134 |
135 window.UserSettings = function() | 135 window.UserSettings = function() |
136 { | 136 { |
137 return window.Settings; | 137 return window.Settings; |
138 } | 138 } |
139 | 139 |
OLD | NEW |