Thanks again ingo - after posting I make a hack in the complextablefield.js file which helped, but I will try blocking it and see if that acheives the same result without affecting too much else.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
- Previous 10 entries
- 1
- Page 22(current)
Hello, I would like to know if u solve this problem with popups and how? I have the same problem when I want to load window different to a popup I would thank u if u can help
I dealt with this problem like so:
The javascript that's hogging the <a> tags in the table ignores an element if it's an input tag.
So I've used the following to bypass the popup:
$orderReport->setFieldFormatting(array(
'Invoice' => '<input type=\"button\" name=\"OrderReport_Popup/index/$ID/\" onclick=\"location.href=this.name;\" value=\"Invoice\" />'));
Again messy code to deal with the popups but, I hope that helps.
Also further on this I don't know why I didn't just put:
$orderReport->setFieldFormatting(array(
'Invoice' => '<input type=\"button\" onclick=\"location.href=\'OrderReport_Popup/index/$ID/\';\" value=\"Invoice\" />'));
What was I thinking?
- Previous 10 entries
- 1
- Page 22(current)