Jump to content

Community

Rikki

Invision Community Team
  • Posts

    24,342
  • Joined

  • Days Won

    80

Community Answers

  1. Rikki's post in Requesting support? was marked as the answer   
    You can also email support@invisionpower.com 🙂 
  2. Rikki's post in ips.ui.autocomplete suggestion was marked as the answer   
    The event is triggered on the autocomplete element itself, so you should be able to determine which element it came from by using e.currentTarget or e.target (depending on how you set up your event handlers) 🙂
    An example from one of our controllers:
    initialize: function () { this.on( 'tokenAdded', '[data-ipsAutocomplete]', this.changeField ); }, changeField: function (e) { var autocomplete = $( e.currentTarget ); }  
  3. Rikki's post in How to close a dialog was marked as the answer   
    There won't really be an easy way to do it automatically. Remote submit submits a form via ajax, which won't work for a file download.
    Couple of options - you could fake it by setting a timeout when they click the Download button, and then just close the dialog after ~2 seconds and assume they've started the download.
    Alternatively, when the user clicks the download button, the server actually returns the download URL and it's the javascript that closes the dialog and redirects the browser to the download location.
  4. Rikki's post in Rikki, if I asked very nicely.... was marked as the answer   
    If you let me know what you need, I'll see what I can do.
  5. Rikki's post in GDK for IP.Board 3.4 was marked as the answer   
    Those images are actually in the earlier 3.0/3.1 GDK: '?do=embed' frameborder='0' data-embedContent>>

    Hope that helps :)
×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy