Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Application Crashes Due to Duplicated Concurrent INSERT Transactions
Re: jQuery Solution: Application Crashes Due to Duplicated Concurrent INSERT Transactions [message #5946 is a reply to message #5941] Wed, 05 October 2016 19:32 Go to previous messageGo to previous message
kong is currently offline  kong
Messages: 90
Registered: December 2011
Member
Made some changes for IE, please update $javascript['foot'][]['code'] to the following:
            $javascript['foot'][]['code'] =  "
                $('form :submit').click(function () {
                    \$(this).
                    prop('disabled', true).
                    closest('form').
                    append(\$('<input/>', {
                        type: 'hidden',
                        name: this.name,
                        value: this.value
                    })).
                    submit();
                    \$(this).addClass('loadingspinner');
                    event.preventDefault();
                });";

IE11 does not support svg file, so I attached a gif file for the spinner. Extract and save spin-red.gif file to radicore/css folder and update default.css or whatever css file you use:
.loadingspinner
{
  background:
          url("spin-red.gif")
          no-repeat
          center center;
}

I have tested this successfully on:
Chrome 53
Firefox 49
Waterfox 48
IE 11

  • Attachment: spin-red.7z
    (Size: 0.64KB, Downloaded 921 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Localization of task_desc in workitem
Next Topic: Outer Database Popup File Missing
Goto Forum:
  


Current Time: Sat Aug 03 17:15:41 EDT 2024

Total time taken to generate the page: 0.01062 seconds