Skip to content

Commit

Permalink
Version 18.40 [improved back button behaviour]
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Rostovtsev committed Apr 5, 2017
1 parent 4843d26 commit 9b47038
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Changelog

#### Version 18.41-beta24 (05 April, 2017)
#### Version 18.41-beta26 (05 April, 2017)
* Added ability to install patched version of the theme directly from GitHub, to get early access on the new features [#707](https://github.com/qooob/authentic-theme/issues/707)
* Added console script for updating the theme [#703](https://github.com/qooob/authentic-theme/issues/703)
* Added error handler for saving files in background calls [#689](https://github.com/qooob/authentic-theme/issues/689)
Expand Down
2 changes: 1 addition & 1 deletion lang/sv.UTF-8
Original file line number Diff line number Diff line change
Expand Up @@ -667,4 +667,4 @@ theme_git_patch_update_success_message2=Uppdatering av Webmin- och Usermin-temat
theme_xhred_git_patch_update=Uppdatering av temat misslyckades. Prova uppdatera manuellt via konsolen.
theme_xhred_git_patch_initiated=Uppdatering av temat har påbörjats.
theme_xhred_global_prev_page=Föregående sida
theme_xhred_global_help=Hjälpa
theme_xhred_global_help=Hjälp
3 changes: 3 additions & 0 deletions unauthenticated/js/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -1818,6 +1818,9 @@ if (settings_right_iconize_header_links) {
$("#headln2l").removeClass("invisible")
});
$("body").on("click", "#headln2l a", function(a) {
if (unbuffered_header()) {
return
}
if ($(this).find(".fa-arrow-left").length) {
a.preventDefault();
a.stopPropagation();
Expand Down
2 changes: 1 addition & 1 deletion unauthenticated/js/content.min.js

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion unauthenticated/js/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -684,10 +684,20 @@ function __num() {
return true
}
}
var $__was = function() {

function unbuffered_header() {
var d = URI(t___wi.location),
c = d.path();
if (c && c.indexOf("/virtual-server/import.cgi") > -1 || c.indexOf("/virtual-server/edit_newlinks.cgi") > -1 || c.indexOf("/virtual-server/postsave.cgi") > -1 || c.indexOf("/virtual-server/validate.cgi") > -1 || c.indexOf("/server-manager/edit_serv.cgi") > -1 || c.indexOf("/server-manager/save_serv.cgi") > -1 || c.indexOf("/server-manager/index.cgi") > -1 || c.indexOf("/server-manager/list_ifaces.cgi") > -1 || c.indexOf("/server-manager/mass_update.cgi") > -1 || c.indexOf("/server-manager/get_images.cgi") > -1 || c.indexOf("/server-manager/edit_newlinks.cgi") > -1 || c.indexOf("/server-manager/list_gces.cgi") > -1 || c.indexOf("/server-manager/list_ec2s.cgi") > -1 || c.indexOf("/server-manager/unpause.cgi") > -1 || c.indexOf("/server-manager/find.cgi") > -1 || c.indexOf("useradmin/batch_exec.cgi") > -1 || c.indexOf("useradmin/gbatch_exec.cgi") > -1 || c.indexOf("useradmin/mass_delete_user.cgi") > -1 || c.indexOf("virtual-server/domain_setup.cgi") > -1 || c.indexOf("virtual-server/upgrade.cgi") > -1 || c.indexOf("virtual-server/mass_create.cgi") > -1 || c.indexOf("virtual-server/restore.cgi") > -1 || c.indexOf("virtual-server/save_newip.cgi") > -1 || c.indexOf("virtual-server/mass_domains_change.cgi") > -1 || c.indexOf("virtual-server/save_domain.cgi") > -1 || c.indexOf("virtual-server/backup.cgi") > -1 || c.indexOf("virtual-server/save_phpmode.cgi") > -1 || c.indexOf("virtual-server/script_install.cgi") > -1 || c.indexOf("virtual-server/mass_change.cgi") > -1 || c.indexOf("virtual-server/save_ratelimit.cgi") > -1 || c.indexOf("virtual-server/mass_scripts.cgi") > -1 || c.indexOf("virtual-server/mass_upgrade.cgi") > -1 || c.indexOf("virtual-server/save_newips.cgi") > -1 || c.indexOf("virtual-server/letsencrypt.cgi") > -1 || c.indexOf("virtual-server/migrate.cgi") > -1 || c.indexOf("virtual-server/save_mail.cgi") > -1 || c.indexOf("virtual-server/mass_delete_domains.cgi") > -1 || c.indexOf("virtual-server/delete_domain.cgi") > -1 || c.indexOf("virtual-server/unscript_install.cgi") > -1 || c.indexOf("virtual-server/mass_uninstall.cgi") > -1 || c.indexOf("virtual-server/clone.cgi") > -1 || c.indexOf("virtual-server/fix_symlinks.cgi") > -1 || c.indexOf("virtual-server/disable_domain.cgi") > -1 || c.indexOf("virtual-server/delete_databases.cgi") > -1 || c.indexOf("virtual-server/move.cgi") > -1 || c.indexOf("virtual-server/enable_domain.cgi") > -1 || c.indexOf("virtual-server/transfer.cgi") > -1 || c.indexOf("virtual-server/mass_disable.cgi") > -1 || c.indexOf("virtual-server/rename.cgi") > -1 || c.indexOf("virtual-server/save_dbname.cgi") > -1 || c.indexOf("virtual-server/mass_enable.cgi") > -1 || c.indexOf("virtual-server/save_frame.cgi") > -1 || c.indexOf("virtual-server/check.cgi") > -1 || c.indexOf("virtual-server/save_newchroot.cgi") > -1 || c.indexOf("virtual-server/enable_dkim.cgi") > -1 || c.indexOf("virtual-server/save_proxy.cgi") > -1 || c.indexOf("virtual-server/save_dbpass.cgi") > -1 || c.indexOf("virtual-server/save_dbhosts.cgi") > -1 || c.indexOf("virtual-server/unalias.cgi") > -1 || c.indexOf("virtual-server/save_newautoconfig.cgi") > -1 || c.indexOf("virtual-server/quotacheck.cgi") > -1 || c.indexOf("virtual-server/unsub.cgi") > -1 || c.indexOf("virtual-server/save_domdkim.cgi") > -1 || c.indexOf("virtual-server/fix_modphp.cgi") > -1 || c.indexOf("virtual-server/connectivity.cgi") > -1 || c.indexOf("virtual-server/all_webmin.cgi") > -1 || c.indexOf("virtualmin-support/send_ticket.cgi") > -1 || c.indexOf("virtualmin-support/enable_login.cgi") > -1 || c.indexOf("virtualmin-support/disable_login.cgi") > -1 || c.indexOf("server-manager/create.cgi") > -1 || c.indexOf("server-manager/mass.cgi") > -1 || c.indexOf("server-manager/manual_image.cgi") > -1 || c.indexOf("server-manager/save_limits.cgi") > -1 || c.indexOf("server-manager/upgrade.cgi") > -1 || c.indexOf("server-manager/empty.cgi") > -1 || c.indexOf("server-manager/save_pass.cgi") > -1 || c.indexOf("server-manager/create_image.cgi") > -1 || c.indexOf("server-manager/restore.cgi") > -1 || c.indexOf("server-manager/clone.cgi") > -1 || c.indexOf("server-manager/scan.cgi") > -1 || c.indexOf("server-manager/add.cgi") > -1 || c.indexOf("server-manager/gcescan.cgi") > -1 || c.indexOf("server-manager/create_gceattach.cgi") > -1 || c.indexOf("server-manager/ec2scan.cgi") > -1 || c.indexOf("server-manager/create_domain.cgi") > -1 || c.indexOf("server-manager/restore_domain.cgi") > -1 || c.indexOf("server-manager/create_ec2attach.cgi") > -1 || c.indexOf("server-manager/newami.cgi") > -1 || c.indexOf("server-manager/move_disk.cgi") > -1 || c.indexOf("server-manager/convert_image.cgi") > -1 || c.indexOf("server-manager/save_vcpus.cgi") > -1 || c.indexOf("server-manager/boot.cgi") > -1 || c.indexOf("server-manager/delete_backuplogs.cgi") > -1 || c.indexOf("server-manager/mass_script.cgi") > -1 || c.indexOf("server-manager/save_ec2address.cgi") > -1 || c.indexOf("server-manager/mass_move.cgi") > -1 || c.indexOf("server-manager/delete_ec2attach.cgi") > -1 || c.indexOf("server-manager/move.cgi") > -1 || c.indexOf("server-manager/backup.cgi") > -1 || c.indexOf("server-manager/create_dimage.cgi") > -1 || c.indexOf("server-manager/massupload.cgi") > -1 || c.indexOf("server-manager/delete_volumes.cgi") > -1 || c.indexOf("server-manager/delete_ec2_snapshots.cgi") > -1 || c.indexOf("server-manager/download.cgi") > -1 || c.indexOf("server-manager/create_gdisk.cgi") > -1 || c.indexOf("server-manager/failover.cgi") > -1 || c.indexOf("server-manager/create_dkvolume.cgi") > -1 || c.indexOf("server-manager/upload.cgi") > -1 || c.indexOf("server-manager/transfer.cgi") > -1 || c.indexOf("server-manager/delete_gceattach.cgi") > -1 || c.indexOf("server-manager/reset.cgi") > -1 || c.indexOf("server-manager/find.cgi") > -1 || c.indexOf("server-manager/create_volume.cgi") > -1 || c.indexOf("server-manager/create_gsnapshot.cgi") > -1 || c.indexOf("server-manager/create_gimage.cgi") > -1 || c.indexOf("server-manager/exec_vbackup.cgi") > -1 || c.indexOf("server-manager/unpause.cgi") > -1 || c.indexOf("server-manager/pause.cgi") > -1 || c.indexOf("server-manager/create_ec2_snapshot.cgi") > -1 || c.indexOf("server-manager/delete_addresses.cgi") > -1 || c.indexOf("server-manager/exec_vsync.cgi") > -1 || c.indexOf("server-manager/create_address.cgi") > -1 || c.indexOf("cluster-usermin/upgrade.cgi") > -1 || c.indexOf("cluster-usermin/install.cgi") > -1 || c.indexOf("cluster-usermin/update.cgi") > -1 || c.indexOf("ldap-useradmin/batch_exec.cgi") > -1 || c.indexOf("ldap-useradmin/mass_delete_user.cgi") > -1 || c.indexOf("usermin/upgrade.cgi") > -1 || c.indexOf("usermin/update.cgi") > -1 || c.indexOf("cpan/download.cgi") > -1 || c.indexOf("cpan/install.cgi") > -1 || c.indexOf("burner/save_profile.cgi") > -1 || c.indexOf("burner/burn.cgi") > -1 || c.indexOf("bind8/mass_create.cgi") > -1 || c.indexOf("bind8/mass_rcreate.cgi") > -1 || c.indexOf("bind8/mass_delete.cgi") > -1 || c.indexOf("bind8/mass_update.cgi") > -1 || c.indexOf("bind8/zone_dnssecmigrate_dt.cgi") > -1 || c.indexOf("bind8/mass_rdelete.cgi") > -1 || c.indexOf("bind8/enable_zonekey.cgi") > -1 || c.indexOf("bind8/enable_zonedt.cgi") > -1 || c.indexOf("bind8/disable_zonedt.cgi") > -1 || c.indexOf("webalizer/save_log.cgi") > -1 || c.indexOf("bacula-backup/restore.cgi") > -1 || c.indexOf("bacula-backup/backup.cgi") > -1 || c.indexOf("bacula-backup/gbackup.cgi") > -1 || c.indexOf("bacula-backup/label.cgi") > -1 || c.indexOf("bacula-backup/mount.cgi") > -1 || c.indexOf("cluster-software/install_pack.cgi") > -1 || c.indexOf("updown/download.cgi") > -1 || c.indexOf("software/install_pack.cgi") > -1 || c.indexOf("software/do_install.cgi") > -1 || c.indexOf("software/apt_upgrade.cgi") > -1 || c.indexOf("software/rhn_check.cgi") > -1 || c.indexOf("software/yum_upgrade.cgi") > -1 || c.indexOf("software/urpmi_upgrade.cgi") > -1 || c.indexOf("software/csw_upgrade.cgi") > -1 || c.indexOf("software/ports_upgrade.cgi") > -1 || c.indexOf("webmin/letsencrypt.cgi") > -1 || c.indexOf("webmin/delete_webmincron.cgi") > -1 || c.indexOf("webmin/test_sendmail.cgi") > -1 || c.indexOf("webmin/refresh_modules.cgi") > -1 || c.indexOf("package-updates/update.cgi") > -1 || c.indexOf("custom/run.cgi") > -1 || c.indexOf("custom/sql.cgi") > -1 || c.indexOf("virtualmin-init/save.cgi") > -1 || c.indexOf("virtualmin-init/mass.cgi") > -1 || c.indexOf("backup-config/save.cgi") > -1 || c.indexOf("squid/init_cache.cgi") > -1 || c.indexOf("squid/clear.cgi") > -1 || c.indexOf("squid/chown.cgi") > -1 || c.indexOf("ldap-client/check.cgi") > -1 || c.indexOf("sendmail/del_mailqs.cgi") > -1 || c.indexOf("sendmail/flushq.cgi") > -1 || c.indexOf("init/mass_start_stop.cgi") > -1 || c.indexOf("init/mass_launchd.cgi") > -1 || c.indexOf("init/mass_systemd.cgi") > -1 || c.indexOf("init/mass_upstarts.cgi") > -1 || c.indexOf("init/mass_rcs.cgi") > -1 || c.indexOf("init/save_services.cgi") > -1 || c.indexOf("ldap-server/create.cgi") > -1 || c.indexOf("change-user/change.cgi") > -1 || c.indexOf("virtualmin-slavedns/save.cgi") > -1 || c.indexOf("proc/trace.cgi") > -1 || c.indexOf("proc/run.cgi") > -1 || c.indexOf("proc/kill_proc_list.cgi") > -1 || c.indexOf("fsdump/backup.cgi") > -1 || c.indexOf("fsdump/restore.cgi") > -1 || c.indexOf("webmin_search.cgi") > -1 || c.indexOf("security-updates/update.cgi") > -1 || c.indexOf("virtualmin-mailrelay/save.cgi") > -1 || c.indexOf("cluster-copy/exec.cgi") > -1 || c.indexOf("cron/exec_cron.cgi") > -1 || c.indexOf("virtualmin-registrar/import.cgi") > -1 || c.indexOf("virtualmin-registrar/save_ns.cgi") > -1 || c.indexOf("virtualmin-registrar/transfer.cgi") > -1 || c.indexOf("virtualmin-registrar/renew.cgi") > -1 || c.indexOf("virtualmin-registrar/create.cgi") > -1 || c.indexOf("htaccess-htpasswd/search.cgi") > -1 || c.indexOf("acl/makedn.cgi") > -1 || c.indexOf("acl/cert_issue.cgi") > -1 || c.indexOf("acl/maketables.cgi") > -1 || c.indexOf("acl/schema.cgi") > -1 || c.indexOf("filter/move.cgi") > -1 || c.indexOf("fetchmail/check.cgi") > -1 || c.indexOf("servers/find.cgi") > -1 || c.indexOf("cluster-cron/exec.cgi") > -1 || c.indexOf("raid/mkfs.cgi") > -1 || c.indexOf("lvm/pvmove.cgi") > -1 || c.indexOf("lvm/mkfs.cgi") > -1 || c.indexOf("ppp-client/init.cgi") > -1 || c.indexOf("fdisk/mkfs.cgi") > -1 || c.indexOf("fdisk/tunefs.cgi") > -1 || c.indexOf("fdisk/fsck.cgi") > -1 || c.indexOf("spam/deleteall_awl.cgi") > -1 || c.indexOf("quota/check_quotas.cgi") > -1 || c.indexOf("virtualmin-awstats/generate.cgi") > -1 || c.indexOf("postfix/flushq.cgi") > -1 || c.indexOf("status/delete_mons.cgi") > -1 || c.indexOf("status/refresh.cgi") > -1 || c.indexOf("/webmin/upgrade.cgi") > -1) {
return 1
} else {
return 0
}
}
var $__was = function() {
var d = URI(t___wi.location),
c = d.path();
if (unbuffered_header()) {
$("html").data("data-pagescroll", true)
}
if ($("body").hasClass("__e__")) {
Expand Down
2 changes: 1 addition & 1 deletion unauthenticated/js/init.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.40-git-201704051155
18.40-git-201704052119

0 comments on commit 9b47038

Please sign in to comment.