[] - Custom Attach click functionality

Posted by IramK on 13-Jun-2016 08:42


In version, I had some code that would change the src of an attach button for a related objects list view. The code is given below.

  function onClick(e){
    console.log($("#dialogId > iframe").length); // returns 0 in 4.2 but works fine (returns 1) in


  var myButton= $($('section[name="Attach Button Section"]').find('a')[4]);
    click: onClick

However, this doesn't work the same anymore in May I know what has changed as I don't get the iframe anymore with the same code. Looking forward to your reply.


All Replies

Posted by IramK on 08-Feb-2017 11:36
This thread is closed