|
@@ -167,7 +167,11 @@
|
|
|
$('body')
|
|
|
.off('mousedown.visit-moe-outside-click')
|
|
|
.on('mousedown.visit-moe-outside-click', function (e) {
|
|
|
- if ($(e.target).closest('[visit-moe]').length) {
|
|
|
+ if ($(e.target).closest('[visit-moe]').length ||
|
|
|
+ $(e.target).closest('#create-shortcut-form').length ||
|
|
|
+ $(e.target).is('#create-shortcut-form') ||
|
|
|
+ $(e.target).is('.stag-shortcuts .sc') ||
|
|
|
+ $(e.target).closest('.ui-datepicker').length) {
|
|
|
return;
|
|
|
}
|
|
|
$('[visit-moe] [url]:not([show])').hide();
|