Lines 39-45
$(document).ready(function() {
Link Here
|
39 |
var selected_library = library_dropdown.options[library_dropdown.selectedIndex].value; |
39 |
var selected_library = library_dropdown.options[library_dropdown.selectedIndex].value; |
40 |
if (selected_library === "*") { |
40 |
if (selected_library === "*") { |
41 |
var to_library = $("#tobranch option:selected").text(); |
41 |
var to_library = $("#tobranch option:selected").text(); |
42 |
var MSG_CONFIRM_CLONE = _("Are you sure you want to clone this standard rule to " + to_library + " library? This will override the existing rules in " + to_library + " library."); |
42 |
var MSG_CONFIRM_CLONE = _("Are you sure you want to clone this standard rule to %s library? This will override the existing rules in this library.").format(to_library); |
43 |
return confirmClone(MSG_CONFIRM_CLONE); |
43 |
return confirmClone(MSG_CONFIRM_CLONE); |
44 |
} |
44 |
} |
45 |
}); |
45 |
}); |
46 |
- |
|
|