clearing default text when adding emoticons

2009-03-06
2013-05-01
  • tin htun aung
    tin htun aung
    2009-03-06

    Hi Kevin,

    Hope you read this thread. =)

    In the meeting, when you add the emoticons for the first time, the default text "Type text and press Enter" is not cleared.

    It happens in both open source and the hosted meetings at the dimdim.com.

    I'm not an expert but I solved it on my way. =P

    Below is what I did. Hope you could get to dimdim developers to look into it.

    Please correct if something wrong or there's a better way to do it.

    package - "com.dimdim.conference.ui.common.client.user"

    class name - "EmoticonsPopup.java"

    method name - "sendEmotion"

    if(null != chatTextArea.getText()){

            // check whether it is default text or not, then clear the default text
            if(chatTextArea.getText()==UIStrings.getChatPanelInstruction())
                chatTextArea.setText("");
            //-----------------------

            temp = chatTextArea.getText()+emoticon;
    }

    Regards,

    ko_aung

     
    • ko_aung-

      Thanks, I'll let the engineering team know. 

      I try my best to watch all the SourceForge and Dimdim.com forums.  If there's anything you're afraid I'll miss, let me know at kevin@dimdim.com. 

      Thanks!

      -k
      Kevin Micalizzi, Community Manager
      Dimdim Web Conferencing
        e: kevin@dimdim.com
        twitter: @dimdim
        facebook: dimdim.com/facebook

       
      • dimdim_dilip
        dimdim_dilip
        2009-03-06

        Hi ko_aung:

        Th issue and fix that you mentioned are both correct, I have updated the code with your fix, which will be available when we update the source again.

        Thanks a ton for pointing this :)

        Dilip

         
    • tin htun aung
      tin htun aung
      2009-03-06

      Hi,

      I'm glad to hear that.

      kevin- Thanks for your quick response and informing the team.

      Dilip - Thanks for looking into the matter and fix. I see a lot of comments by you in the codes. :)

      Regards,

      ko_aung