simplified pane handling code somewhat
This commit is contained in:
parent
bdc00fe04d
commit
0f41025327
9
prefs.js
9
prefs.js
|
@ -7,7 +7,6 @@ var xmlhttp = false;
|
||||||
|
|
||||||
var active_feed = false;
|
var active_feed = false;
|
||||||
var active_filter = false;
|
var active_filter = false;
|
||||||
var active_pane = false;
|
|
||||||
|
|
||||||
/*@cc_on @*/
|
/*@cc_on @*/
|
||||||
/*@if (@_jscript_version >= 5)
|
/*@if (@_jscript_version >= 5)
|
||||||
|
@ -497,12 +496,6 @@ function expandPane(id) {
|
||||||
|
|
||||||
var container;
|
var container;
|
||||||
|
|
||||||
/* if (active_pane) {
|
|
||||||
container = document.getElementById(active_pane);
|
|
||||||
container.innerHTML = "<a href=\"javascript:expandPane('" +
|
|
||||||
active_pane + "')\">Click to expand...</a>";
|
|
||||||
} */
|
|
||||||
|
|
||||||
container = document.getElementById(id);
|
container = document.getElementById(id);
|
||||||
|
|
||||||
if (id == "feedConfPane") {
|
if (id == "feedConfPane") {
|
||||||
|
@ -510,8 +503,6 @@ function expandPane(id) {
|
||||||
} else if (id == "filterConfPane") {
|
} else if (id == "filterConfPane") {
|
||||||
updateFilterList();
|
updateFilterList();
|
||||||
}
|
}
|
||||||
|
|
||||||
active_pane = id;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
|
|
Loading…
Reference in New Issue