Hi Michael, *,
On Thu, Jan 27, 2011 at 12:43 AM, Michael Wheatland
<michael@wheatland.com.au> wrote:
On Thu, Jan 27, 2011 at 8:38 AM, Christian Lohmaier
<lohmaier+ooofuture@googlemail.com> wrote:
i.e. anyone got code for a modeless prompt at hand, using jquery maybe?
var message = prompt("promptText", "");
→ javascript prompt dialog that is modal, i.e. blocks interaction with
the parent window (the browser) unless the dialog is dismissed
Are you custom coding the popup?
??? No - the prompt is a simple javascript function. Just paste
<script type="text/javascript">
prompt("prompttext", "defaultvalue");
</script>
into the HTML-box at http://jsfiddle.net and compare - the dialog you
get is modal
I don't think that we should be altering the CMS core code.
Well - it is not the core, just the function that reads the dialog,
but I wonder how you would change an unwanted behaviour without
changing the code that is causing it.
Isn't
there any options for this behaviour in Silverstripe?
An option to tell the browser to reinterpret the javascript functions?
No, how should that work?
Again: The function uses the simple javascript "prompt" command to get
the dialog. This javascript function (part of "vanilla" javascript) is
a modal dialog.
I don't know what kind of configuration you think that would magically
change this...
ciao
Christian
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.