Prompt user when moving or duplicate a task to another project

This commit is contained in:
Frederic Guillot
2015-07-19 17:03:06 -04:00
parent 0dd17c6137
commit fcdd71af2c
33 changed files with 517 additions and 176 deletions

View File

@@ -273,6 +273,10 @@ var Kanboard = (function() {
$(".sidebar-expand").hide();
});
$("select.task-reload-project-destination").change(function() {
window.location = $(this).data("redirect").replace(/PROJECT_ID/g, $(this).val());
});
// Datepicker translation
$.datepicker.setDefaults($.datepicker.regional[$("body").data("js-lang")]);