Skip to content

Commit

Permalink
Prevent accidental close of the dialog - fix #625
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Feb 9, 2016
1 parent a03d12a commit 52914d8
Show file tree
Hide file tree
Showing 19 changed files with 46 additions and 70 deletions.
2 changes: 1 addition & 1 deletion Js/2sxc.api.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Js/AngularJS/2sxc4ng.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "ToSic.2sxc",
"version": "8.1.0.10",
"dependencies": {
"2sxc-eav-languages": "2sic/2sxc-eav-languages#181c506",
"2sxc-icons": "2sic/2sxc-icons#cd7a7e7",
"2sxc-eav-languages": "2sic/2sxc-eav-languages",
"2sxc-icons": "2sic/2sxc-icons",
"angular-ui-ace": "0.2.3",
"angular-ui-tinymce": "0.0.12"
},
Expand Down
2 changes: 1 addition & 1 deletion dist/admin/eav-admin.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/config/config.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 3 additions & 9 deletions dist/edit/eav-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1212,17 +1212,11 @@ function enhanceEntity(entity) {

switch (e.type.split("-")[0]) {
case "boolean":
return d !== undefined && d !== null ? d.toLowerCase() == "true" : false;
return d !== undefined && d !== null ? d.toLowerCase() === "true" : false;
case "datetime":
return d !== undefined && d !== null && d !== "" ? new Date(d) : null;
case "entity":
if (Array.isArray(d))
return d;
if (typeof d === 'string')
return [d];
else
return [];
break;
case "entity":
return d !== undefined && d !== null ? d : [];
case "number":
return null;
default:
Expand Down
4 changes: 2 additions & 2 deletions dist/edit/eav-edit.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/edit/eav-edit.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 52914d8

Please sign in to comment.