Rank: Member
Groups: Guest
Joined: 7/31/2012(UTC) Posts: 14
Thanks: 6 times Was thanked: 1 time(s) in 1 post(s)
|
Hi guys, Is there any way to change the confirm message when you set deleteCurrentVObject(true) ? e.g. canvasViewer.get_canvas().deleteCurrentVObject(true); The documentation doesn't mention this... Thanks, Andy
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
You may set it like in thi code snippet: Code:
...
canvasViewer.get_canvas().add_currentVObjectDeleting(function (sender, callback)
{
if (confirm('Are you sure?'))
{ callback(); }
});
...
|
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
1 user thanked Dmitry.Obukhov for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.