diff --git a/chrome/chromeFiles/content/scholar/preferences.js b/chrome/chromeFiles/content/scholar/preferences.js
index b4761268fd..b4dfeede5d 100644
--- a/chrome/chromeFiles/content/scholar/preferences.js
+++ b/chrome/chromeFiles/content/scholar/preferences.js
@@ -11,6 +11,7 @@ var openURLMenu;
var openURLResolvers;
var openURLServerField;
var openURLVersionMenu;
+var scholarPaneOnTopInitial;
/*
To add a new preference:
@@ -28,7 +29,7 @@ var openURLVersionMenu;
function init()
{
autoUpdateBox = document.getElementById('autoUpdateBox');
- autoUpdateBox.checked = Scholar.Prefs.get('automaticScraperUpdates');
+ autoUpdateBox.checked = scholarPaneOnTopInitial = Scholar.Prefs.get('automaticScraperUpdates');
positionMenu = document.getElementById('positionMenu');
positionMenu.selectedIndex = Scholar.Prefs.get('scholarPaneOnTop') ? 0 : 1;
@@ -83,4 +84,17 @@ function onOpenURLSelected()
function onOpenURLCustomized()
{
openURLMenu.value = "custom";
+}
+
+function onPositionChange()
+{
+ var statusLine = document.getElementById('statusLine');
+ if ((positionMenu.selectedIndex == 0) != scholarPaneOnTopInitial)
+ {
+ statusLine.value = Scholar.getString('scholar.preferences.status.positionChange');
+ }
+ else
+ {
+ statusLine.value = '';
+ }
}
\ No newline at end of file
diff --git a/chrome/chromeFiles/content/scholar/preferences.xul b/chrome/chromeFiles/content/scholar/preferences.xul
index 09c8202d2d..59cd0d1520 100644
--- a/chrome/chromeFiles/content/scholar/preferences.xul
+++ b/chrome/chromeFiles/content/scholar/preferences.xul
@@ -19,7 +19,7 @@
-
+
@@ -58,4 +58,6 @@
+
+
\ No newline at end of file
diff --git a/chrome/chromeFiles/locale/en-US/scholar/scholar.properties b/chrome/chromeFiles/locale/en-US/scholar/scholar.properties
index b982cda5b3..db752a2890 100644
--- a/chrome/chromeFiles/locale/en-US/scholar/scholar.properties
+++ b/chrome/chromeFiles/locale/en-US/scholar/scholar.properties
@@ -69,7 +69,6 @@ itemFields.journalAbbreviation = Journal Abbr
itemFields.DOI = DOI
itemFields.accessDate = Accessed
-
itemTypes.note = Note
itemTypes.book = Book
itemTypes.bookSection = Book Section
@@ -99,6 +98,8 @@ db.dbCorruptedNoBackup = The Zotero database appears to have become corrupted,
db.dbRestored = The Zotero database appears to have become corrupted.\n\nYour data was restored from the last automatic backup made on %1 at %2. The damaged file was saved in your Zotero directory.
db.dbRestoreFailed = The Zotero database appears to have become corrupted, and an attempt to restore from the last automatic backup failed.\n\nA new database file has been created. The damaged file was saved in your Zotero directory.
+scholar.preferences.status.positionChange = Position change will take effect in new windows only
+
fileInterface.itemsImported = Importing items...
fileInterface.itemsExported = Exporting items...
fileInterface.import = Import