SpeedDial: Show warning message when JavaScript is disabled

remotes/origin/Falkon/3.0
David Rosca 8 years ago
parent 7cd86e144b
commit c906e0d168
  1. 5
      src/lib/data/html/speeddial.html
  2. 1
      src/lib/network/schemehandlers/falkonschemehandler.cpp

@ -455,7 +455,9 @@ function disableCentering()
</head>
<body>
<div id="quickdial"></div>
<div id="quickdial">
<noscript>%JAVASCRIPT-DISABLED%</noscript>
</div>
<a onClick="configureSpeedDial()" title="%SETTINGS-TITLE%" class="sett"></a>
<a onClick="addSpeedDial()" title="%ADD-TITLE%" class="add"></a>
@ -504,6 +506,7 @@ function init()
}
</script>
<div id="fadeOverlay2" class="overlay" style="display:none;">
<div id="settingsBox">
<div class="togop">

@ -282,6 +282,7 @@ QString FalkonSchemeReply::speeddialPage()
dPage.replace(QLatin1String("%TITLE-WARN%"), tr("Are you sure you want to remove this speed dial?"));
dPage.replace(QLatin1String("%TITLE-WARN-REL%"), tr("Are you sure you want to reload all speed dials?"));
dPage.replace(QLatin1String("%TITLE-FETCHTITLE%"), tr("Load title from page"));
dPage.replace(QLatin1String("%JAVASCRIPT-DISABLED%"), tr("SpeedDial requires JavaScript enabled."));
dPage.replace(QLatin1String("%URL%"), tr("Url"));
dPage.replace(QLatin1String("%TITLE%"), tr("Title"));
dPage.replace(QLatin1String("%APPLY%"), tr("Apply"));

Loading…
Cancel
Save