mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
get button handling right for drop-on-home dialog
This commit is contained in:
parent
ea1daa5486
commit
601c80f911
@ -363,10 +363,11 @@ var homeButtonObserver = {
|
||||
iconURL, checkValue, 2, 0, null, pressedVal);
|
||||
nsPreferences.setBoolPref("browser.homepage.enable_home_button_drop", checkValue.value);
|
||||
|
||||
setHomepage = pressedVal.value;
|
||||
setHomepage = pressedVal.value == 0 ? true : false;
|
||||
}
|
||||
else
|
||||
setHomepage = true;
|
||||
dump("*** pressedVal = " + pressedVal.value + "\n");
|
||||
if (setHomepage)
|
||||
nsPreferences.setUnicharPref("browser.startup.homepage", url);
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user