From 962ae5f991c9a533b22632860edb43a644ed449e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 30 Jan 2017 11:16:15 +0100 Subject: [PATCH] =?utf8?q?Belegvorlagen:=20keine=20R=C3=BCckfrage=20vor=20?= =?utf8?q?dem=20Laden?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- js/kivi.RecordTemplate.js | 3 --- js/locale/de.js | 1 - locale/de/all | 1 - 3 files changed, 5 deletions(-) diff --git a/js/kivi.RecordTemplate.js b/js/kivi.RecordTemplate.js index 791bcbac6..61c1b0f98 100644 --- a/js/kivi.RecordTemplate.js +++ b/js/kivi.RecordTemplate.js @@ -36,9 +36,6 @@ namespace('kivi.RecordTemplate', function(ns) { }; ns.load = function(id) { - if (!confirm(kivi.t8('Do you really want to load this record template? All unsaved data will be lose.'))) - return false; - var $type = $("#record_template_dialog_template_type"); var url = encodeURIComponent($type.data('controller')) + '?action=' + encodeURIComponent($type.data('load_action')) diff --git a/js/locale/de.js b/js/locale/de.js index f5ff39c2b..186d7fc4e 100644 --- a/js/locale/de.js +++ b/js/locale/de.js @@ -37,7 +37,6 @@ namespace("kivi").setupLocale({ "Do you really want to cancel?":"Wollen Sie wirklich abbrechen?", "Do you really want to delete this draft?":"Wollen Sie diesen Entwurf wirklich löschen?", "Do you really want to delete this record template?":"Wollen Sie diese Belegvorlage wirklich löschen?", -"Do you really want to load this record template? All unsaved data will be lose.":"Wollen Sie diese Belegvorlage wirklich laden? Alle nicht gespeicherten Daten gehen dabei verloren.", "Do you really want to revert to this version?":"Wollen Sie wirklich auf diese Version zurücksetzen?", "Do you really want to save?":"Wollen Sie wirklich speichern?", "Do you want to set the account number \"#1\" to \"#2\" and the name \"#3\" to \"#4\"?":"Soll die Kontonummer \"#1\" zu \"#2\" und den Name \"#3\" zu \"#4\" geändert werden?", diff --git a/locale/de/all b/locale/de/all index 81e51419c..b3d7aa0aa 100755 --- a/locale/de/all +++ b/locale/de/all @@ -980,7 +980,6 @@ $self->{texts} = { 'Do you really want to delete this object?' => 'Wollen Sie dieses Objekt wirklich löschen?', 'Do you really want to delete this record template?' => 'Wollen Sie diese Belegvorlage wirklich löschen?', 'Do you really want to delete this warehouse?' => 'Wollen Sie dieses Lager wirklich löschen?', - 'Do you really want to load this record template? All unsaved data will be lose.' => 'Wollen Sie diese Belegvorlage wirklich laden? Alle nicht gespeicherten Daten gehen dabei verloren.', 'Do you really want to revert to this version?' => 'Wollen Sie wirklich auf diese Version zurücksetzen?', 'Do you really want to save?' => 'Wollen Sie wirklich speichern?', 'Do you want to limit your search?' => 'Wollen Sie Ihre Suche spezialisieren?', -- 2.20.1