Skip to content

Commit

Permalink
https://github.com/Kademi/keditor/issues/141
Browse files Browse the repository at this point in the history
  • Loading branch information
Duc Doan Hoang Minh (IT - ONL) committed Dec 18, 2018
1 parent 25ff07d commit 3e268c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/js/keditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
tabContainersTitle: 'Containers',
tabComponentsText: 'Components',
tabComponentsTitle: 'Components',
confirmDeleteContainer: 'Are you sure that you want to delete this container? This action can not be undo!',
confirmDeleteComponent: 'Are you sure that you want to delete this component? This action can not be undo!',
confirmDeleteContainerText: 'Are you sure that you want to delete this container? This action can not be undone!',
confirmDeleteComponentText: 'Are you sure that you want to delete this component? This action can not be undone!',
tabTooltipEnabled: true,
extraTabs: null,
defaultComponentType: 'blank',
Expand Down Expand Up @@ -1512,7 +1512,7 @@
var btn = $(this);
flog('Click on .btn-container-delete', btn);

if (confirm(options.confirmDeleteContainer)) {
if (confirm(options.confirmDeleteContainerText)) {
var container = btn.closest('.keditor-container');
var components = container.find('.keditor-component');
var contentArea = container.parent();
Expand Down Expand Up @@ -1604,7 +1604,7 @@
var btn = $(this);
flog('Click on .btn-component-delete', btn);

if (confirm(options.confirmDeleteComponent)) {
if (confirm(options.confirmDeleteComponentText)) {
var component = btn.closest('.keditor-component');
var container = component.closest('.keditor-container');
var contentArea = component.closest('.keditor-content-area');
Expand Down

0 comments on commit 3e268c8

Please sign in to comment.