Skip to content

Commit c34aa16

Browse files
author
minjk-bl
committed
small fixes for Snippets
1 parent a2ef1a8 commit c34aa16

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

css/file_io/udf.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
background-image: url(../../resource/chevron_big_down.svg) !important;
206206
}
207207
#vp_udfPage .vp-sn-item-header input.vp-sn-item-title {
208-
width: calc(100% - 100px);
208+
width: calc(100% - 110px);
209209
outline: none;
210210
background: transparent;
211211
border: 0.5px solid transparent;

src/file_io/udf.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,11 @@ define([
339339

340340
// item header click (toggle & select item) & double click (edit title)
341341
$(document).on('click', this.wrapSelector('.vp-sn-item-header'), function(evt) {
342+
// stop propagation on checkbox
343+
if ($(evt.target).hasClass('vp-sn-item-check')) {
344+
return;
345+
}
346+
342347
var thisHeader = this;
343348
that.clicked++;
344349
if (that.clicked == 1) {
@@ -620,7 +625,7 @@ define([
620625

621626
that.loadUdfList();
622627

623-
vpCommon.renderSuccessMessage(fileName + ' imported ');
628+
vpCommon.renderSuccessMessage(evt.file + ' imported ');
624629
});
625630
});
626631
});

0 commit comments

Comments
 (0)