1
0
mirror of https://github.com/MatMoul/quickdial-webext.git synced 2024-12-23 07:26:11 +00:00

Add startpage timeout settings

This commit is contained in:
MatMoul 2019-01-03 21:06:23 +01:00
parent cc1006042d
commit 941772844a
3 changed files with 799 additions and 786 deletions

View File

@ -68,6 +68,10 @@
<td><input id="ButtonOpenInNewPage" type="checkbox"></td>
</tr>
<tr>
<td>Startpage timeout :</td>
<td><input id="StartupTimeout" type="number"></td>
</tr>
</table>
@ -246,4 +250,4 @@
<button id="BtnCancel">Cancel</button>
</div>
</body>
</html>
</html>

File diff suppressed because it is too large Load Diff

View File

@ -28,6 +28,7 @@ app.init = function(){
BackgroundPreview.style.backgroundRepeat = 'no-repeat';
BackgroundPreview.style.backgroundSize = '100% 100%';
ButtonOpenInNewPage.checked = app.settings.openQuickDialInNewPage;
StartupTimeout.value = app.settings.startpageTimeout;
GridRoot.value = app.settings.grid.root;
GridRows.value = app.settings.grid.rows;
GridRatioX.value = app.settings.grid.ratioX;
@ -88,6 +89,7 @@ app.init = function(){
app.settings.backgroundImage = BackgroundImage;
app.settings.backgroundMode = +(BackgroundMode.value);
app.settings.openQuickDialInNewPage = ButtonOpenInNewPage.checked;
app.settings.startpageTimeout = StartupTimeout.value;
app.settings.grid.rows = +(GridRows.value);
app.settings.grid.margin = +(GridMargins.value);
app.settings.grid.columns = +(GridColumns.value);