Skip to content

Commit bdc82d5

Browse files
committed
Merge branch 'release/2.1.3'
2 parents 15c14b3 + 11b3907 commit bdc82d5

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

itilcategorygroups.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ Potom, pro každou z kategorií požadavku je možné určit která skupina bude
3737
<author>François Legastelois</author>
3838
</authors>
3939
<versions>
40+
<version>
41+
<num>2.1.3</num>
42+
<compatibility>9.3</compatibility>
43+
</version>
4044
<version>
4145
<num>2.1.2</num>
4246
<compatibility>9.3</compatibility>

locales/it_IT.mo

66 Bytes
Binary file not shown.

locales/it_IT.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
# This file is distributed under the same license as the PACKAGE package.
44
#
55
# Translators:
6+
# Pierfrancesco Passerini <p.passerini@gmail.com>, 2018
67
# Giudy <spam@habilitas.it>, 2017
78
msgid ""
89
msgstr ""
910
"Project-Id-Version: GLPI Plugin - Itilcategorygroups\n"
1011
"Report-Msgid-Bugs-To: \n"
1112
"POT-Creation-Date: 2018-06-22 14:52+0000\n"
12-
"PO-Revision-Date: 2018-06-22 14:53+0000\n"
13-
"Last-Translator: Cédric Anne\n"
13+
"PO-Revision-Date: 2018-09-25 13:40+0000\n"
14+
"Last-Translator: Pierfrancesco Passerini <p.passerini@gmail.com>\n"
1415
"Language-Team: Italian (Italy) (http://www.transifex.com/teclib/glpi-plugin-itilcategorygroups/language/it_IT/)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
@@ -20,7 +21,7 @@ msgstr ""
2021

2122
#: hook.php:77
2223
msgid "Level "
23-
msgstr ""
24+
msgstr "Livello"
2425

2526
#: hook.php:95 inc/category.class.php:97 inc/category.class.php:459
2627
#: inc/group_level.class.php:92

scripts/filtergroups.js.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,15 @@
4949
};
5050
5151
var redefineDropdown = function (id, url, tickets_id, type) {
52+
if (typeof templateResult === "undefined" && typeof formatResult !== "undefined") {
53+
var templateResult = formatResult;
54+
}
55+
5256
$('#' + id).select2({
5357
width: '80%',
5458
minimumInputLength: 0,
5559
quietMillis: 100,
5660
minimumResultsForSearch: {$CFG_GLPI['ajax_limit_count']},
57-
closeOnSelect: false,
5861
ajax: {
5962
url: url,
6063
dataType: 'json',
@@ -73,7 +76,7 @@
7376
return { results: data.results, more: more };
7477
}
7578
},
76-
templateResult: formatResult,
79+
templateResult: templateResult,
7780
initSelection: function (element, callback) {
7881
var id = $(element).val();
7982
var defaultid = '0';

setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
@since 2009
2929
---------------------------------------------------------------------- */
3030

31-
define ('PLUGIN_ITILCATEGORYGROUPS_VERSION', '2.1.2');
31+
define ('PLUGIN_ITILCATEGORYGROUPS_VERSION', '2.1.3');
3232

3333
// Minimal GLPI version, inclusive
3434
define("PLUGIN_ITILCATEGORYGROUPS_MIN_GLPI", "9.3");

0 commit comments

Comments
 (0)