Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am just playing around in the project just for fun and found this
<umb-confirm on-confirm="performDelete" on-cancel="cancel">
<div class="umb-pane btn-toolbar umb-btn-toolbar">
<div class="control-group umb-control-group">
<a href class="btn btn-link" ng-click="cancel()"><localize key="general_cancel">Cancel</localize></a>
I though why the extra html? so I tired this doing this and that works just aswell.
<div ng-if="allowDelete === false">
Or is there as reason why we use the extra html here?
Don't remember why I did it like this. I probably had a good reason at the time. Maybe it was not supported in older versions of Umbraco to only have cancel action on the umb-confirm action.
But like I said. I don't remember.
I'm in the middle of rewriting Nexu for umbraco V8. So i'm not going to spent a lot of time on the version for V7 anymore
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted