Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • marthin 87 posts 106 karma points
    Oct 13, 2010 @ 10:10
    marthin
    0

    speechBubbleIcon in UmbClientMgr

    Hi,

    i have a custom section and have implemented a modal that creates a new node. When i do save i would like to use the showSpeechBubble function but i dont know what arguments it takes. iv checkd in the UmbracoApplicationActions.js file but there are three "undefined" args.

     

    showSpeachBubble: function (ico, hdr, msg)

     

    How do i get the correct icon for arg ico?

    What is hdr?

    I guess msg is the message to display, like, "Node has been saved".

     

    thanx for any help!

  • Richard Soeteman 4035 posts 12842 karma points MVP
    Oct 13, 2010 @ 10:37
    Richard Soeteman
    0

    I think you should use the ClientTools class instead of direct Javascript you can pass in the enum of the icon, header and the body. Haven't tested it though but this should work

    ClientTools.ShowSpeechBubble(

    speechBubbleIcon.success, "Your header", "some info");

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Oct 13, 2010 @ 10:49
    Jeroen Breuer
    0

    Hi Marthin,

    Check the solution of this post: http://our.umbraco.org/forum/developers/extending-umbraco/13467-umbraco-45-custom-tree-and-create-dialog

    This is for Umbraco 4.5.

    Jeroen

  • marthin 87 posts 106 karma points
    Oct 13, 2010 @ 11:46
    marthin
    0

    Thanx for the help guys!

    This solved it!

Please Sign in or register to post replies

Write your reply to:

Draft