Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
hi
I'm trying to figure out where one of the alert messages is hiding, since i need to replace it?
I'm talking about the one, when you add an icon to the work area, and try to delete it with the Del key? the alert reads:"Current object will be deleted. Continue?"
thanks
|
|
|
|
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)
|
Hello Ido, Unfortunately, you are not able to replace text of this alert directly, but you can implement simple function. It allows replacing the old text with your own one. To do it, you should create this function in PhotoLabelSample.aspx file: Code:
function deleteVObject(canvas, onDelete) {
if (confirm('Your own text')) {
onDelete();
}
}
Then you need to call it in Sys.Application.add_load(function()) in the same file: Code:
Sample.get_photoLabel().get_canvasViewer().get_canvas().add_currentVObjectDeleting(deleteVObject);
If you have any additional questions about it please feel free to let me know. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Rank: Advanced Member
Groups: Guest
Joined: 2/27/2010(UTC) Posts: 74
|
thank's working perfectly
maybe in the next version you can put all the messages and tags in an XML, would make it a lot easier to globalize
|
|
|
|
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)
|
Hello Ido,
Thanks for your comment.
We will think about your suggestion. Please let me know if you have any other questions. |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
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.