Sha256: 6d4c4c22f7b7f21116821d56457e15de72a99ccc4f44e6d1c2c8190ef9694e55
Contents?: true
Size: 540 Bytes
Versions: 56
Compression:
Stored size: 540 Bytes
Contents
// We have just 'created' a Letter Completion resource on the server // (in other words we have updated the letter state to Completed!) and now we // need to refresh the view the user was on. This could be any page // were the letter is listed or displayed. So look for a URL stored // somewhere on the page in a data attribute and if found make an AJAX call // which will probably reload e.g. a letters table or something like that. <%# url = $(".reveal-modal").data("refresh-url"); if(url) { $.getScript(url); } %> location.reload(true);
Version data entries
56 entries across 56 versions & 1 rubygems