disable_rollback.patch 773 B

1234567891011121314151617181920
  1. --- a/package/feeds/luci/luci-base/htdocs/luci-static/resources/luci.js
  2. +++ b/package/feeds/luci/luci-base/htdocs/luci-static/resources/luci.js
  3. @@ -2177,7 +2177,7 @@
  4. if (!hasmap)
  5. readonly = !LuCI.prototype.hasViewPermission();
  6. - var saveApplyBtn = this.handleSaveApply ? new classes.ui.ComboButton('0', {
  7. + var saveApplyBtn = this.handleSaveApply ? new classes.ui.ComboButton('1', {
  8. 0: [ _('Save & Apply') ],
  9. 1: [ _('Apply unchecked') ]
  10. }, {
  11. @@ -2674,7 +2674,7 @@
  12. class: 'btn primary',
  13. click: function() {
  14. var loc = window.location;
  15. - window.location = loc.protocol + '//' + loc.host + loc.pathname + loc.search;
  16. + window.location = loc.protocol + '//' + loc.host;
  17. }
  18. }, _('To login…')))
  19. ]);