DLH001 Posted July 16, 2014 Report Share Posted July 16, 2014 Hi! I have a problem of my virtual airline. I can't remove bid in my page. I double click and I have a white page. It's very important.for me. But in the admin, I can delete the bid pilot. Thx ------------------------------------------------------ Sorry for my english, I'm French Quote Link to comment Share on other sites More sharing options...
DLH001 Posted July 18, 2014 Author Report Share Posted July 18, 2014 Help Me please =( =( =( Quote Link to comment Share on other sites More sharing options...
tweatherford Posted July 31, 2014 Report Share Posted July 31, 2014 Hello, Does adding a bid work properly? If so that narrows down the problem. -Tim Quote Link to comment Share on other sites More sharing options...
ethnicfsx Posted December 6, 2015 Report Share Posted December 6, 2015 Hello Probably your problem is same that me, you forgot form and input field for send post value ? Quote Link to comment Share on other sites More sharing options...
st852 Posted September 13, 2017 Report Share Posted September 13, 2017 On 2015/12/6 at 4:26 PM, ethnicfsx said: Hello Probably your problem is same that me, you forgot form and input field for send post value ? How to deal with Quote Link to comment Share on other sites More sharing options...
Moderators ProSkyDesign Posted September 13, 2017 Moderators Report Share Posted September 13, 2017 On 16/7/2014 at 11:28 AM, DLH001 said: Hi! I have a problem of my virtual airline. I can't remove bid in my page. I double click and I have a white page. It's very important.for me. But in the admin, I can delete the bid pilot. Thx ------------------------------------------------------ Sorry for my english, I'm French that is problem with jquery (conflict). Can you check in your browser console? Quote Link to comment Share on other sites More sharing options...
DLH001 Posted September 19, 2017 Author Report Share Posted September 19, 2017 Yes, exactly Thx men Quote Link to comment Share on other sites More sharing options...
Karamellwuerfel Posted June 6, 2019 Report Share Posted June 6, 2019 Hey there, I've the same issue and implemented jquery on the page. @ProSkyDesign @DLH001 What was the solution? My browser (chrome) doesn't show anything in the console. Thanks! Quote Link to comment Share on other sites More sharing options...
Moderators ProSkyDesign Posted June 9, 2019 Moderators Report Share Posted June 9, 2019 On 6/6/2019 at 6:30 PM, Karamellwuerfel said: Hey there, I've the same issue and implemented jquery on the page. @ProSkyDesign @DLH001 What was the solution? My browser (chrome) doesn't show anything in the console. Thanks! Hey!, I was out of vms projects because I was very bussy with Others projects, send me a PM with the url of your site and I’ll help you. Quote Link to comment Share on other sites More sharing options...
Karamellwuerfel Posted June 11, 2019 Report Share Posted June 11, 2019 (edited) Hey, I found a solution: The problem is, the function "removebid" in the core/modules/Schedules/Schedules.php is waiting for a POST request but no post request is send by the page of my bids. I simply wrote a jquery script to send an ajax post request to the function and it works. I pasted script into the schedule_bids.php. Just adding a fadout to the removed bid and that's it The javascript/jquery script: <!-- REMOVE BIDS HELPER - START --> <script> $(document).ready(function() { $(".deleteitem").dblclick(function() { var bid_id = $(this).attr("id"); console.log(bid_id); $.ajax({ type: "POST", url: "<?= url('/schedules/removebid') ?>", data:{ id: bid_id }, success:function(response) { $('#bid'+bid_id).fadeOut( "slow" ); $('#message').html('<div class="alert alert-success" role="alert">Flugbuchung wurde gelöscht.</div>'); }, error:function(){ $('#message').html('<div class="alert alert-danger" role="alert">Flugbuchung konnte nicht gelöscht werden.</div>'); } }); }); }); </script> <!-- REMOVE BIDS HELPER - END --> Kind regards Edited June 11, 2019 by Karamellwuerfel Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.