Jump to content
  • 0

Anti auto scroll;



3 answers to this question

Recommended Posts

  • 0

Hello, @autonumber

The ADD button links to a backbone submit page, this is so when people click ADD on the left page that line from the left gets copied to the datatable that is loaded on the right.  This happens by sending all parameters from that line to a submission form which auto submits into the datatable. So it opens a new webpage in a small window in a complete separate browser window for a small amount of time before the form auto submits.


Link to comment
Share on other sites

  • 0


The code  below fixes the issue if you are using chrome, when using Firefox it opens a complete extra tab that is not needed.



<a target="_blank" class='cbMenuItem' href='#' onclick='$("#right_frame").contents().find("#caspioform").submit();
window.open("[@app:URL_F]?Onderdeel_Nummer=[@field:Nummer]&ID=[@ID]&Type=[@field:Type]&Onderdeel=[@field:Onderdeel]&Aantal=[@field:Aantal]&Prijs_Onderdeel=[@field:Prijs_Onderdeel]&Korting_Percent=0&Datum=[@field:Datum_prijslijst]","mywindow", "menubar=1,resizable=1,width=2,height=2");

Edited by Pumpedplop
Problem was only solved on chrome and not on Firefox
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...