k
Size: a a a
k
ВП
<script type="text/javascript">После обновления Jira на 8 версию этот код стал показывться как есть, портянкой.
(function($) {
var id = "10224";
var field_id = "customfield_" + id;
var field_selector = "#" + field_id;
//Removes the default value "None"
AJS.$(field_selector + " option[value='-1']").remove();
function convertMulti(id){
if (AJS.$(field_selector + "-textarea").length == 0){
new AJS.MultiSelect({
element: $(field_selector),
itemAttrDisplayed: "label",
errorMessage: AJS.params.multiselectComponentsError
});
}
}
AJS.toInit(function(){
convertMulti(field_id);
})
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context) {
AJS.$(field_selector + " option[value='-1']").remove();
convertMulti(field_id);
});
})(AJS.$);
</script>
ア
<script type="text/javascript">После обновления Jira на 8 версию этот код стал показывться как есть, портянкой.
(function($) {
var id = "10224";
var field_id = "customfield_" + id;
var field_selector = "#" + field_id;
//Removes the default value "None"
AJS.$(field_selector + " option[value='-1']").remove();
function convertMulti(id){
if (AJS.$(field_selector + "-textarea").length == 0){
new AJS.MultiSelect({
element: $(field_selector),
itemAttrDisplayed: "label",
errorMessage: AJS.params.multiselectComponentsError
});
}
}
AJS.toInit(function(){
convertMulti(field_id);
})
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context) {
AJS.$(field_selector + " option[value='-1']").remove();
convertMulti(field_id);
});
})(AJS.$);
</script>
it
<script type="text/javascript">После обновления Jira на 8 версию этот код стал показывться как есть, портянкой.
(function($) {
var id = "10224";
var field_id = "customfield_" + id;
var field_selector = "#" + field_id;
//Removes the default value "None"
AJS.$(field_selector + " option[value='-1']").remove();
function convertMulti(id){
if (AJS.$(field_selector + "-textarea").length == 0){
new AJS.MultiSelect({
element: $(field_selector),
itemAttrDisplayed: "label",
errorMessage: AJS.params.multiselectComponentsError
});
}
}
AJS.toInit(function(){
convertMulti(field_id);
})
JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e, context) {
AJS.$(field_selector + " option[value='-1']").remove();
convertMulti(field_id);
});
})(AJS.$);
</script>
it
ВП
it
ВП
ВП
ВП
it
КТ
it
VZ
AK
КТ
VZ
КТ
VZ
AK