1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-10 12:34:49 +02:00

bootstrap $frm->radio fixes. $frm->label() and $frm-radio_multi() should not be used.

This commit is contained in:
Cameron
2013-03-24 18:04:37 -07:00
parent f188f7c290
commit ec633d2fc2
7 changed files with 72 additions and 30 deletions

View File

@@ -108,6 +108,12 @@ $(document).ready(function()
// On
$(".e-expandit-on").click(function () {
if($(this).is("input") && $(this).attr("type")=='radio')
{
idt = $(this).parent().nextAll("div.e-expandit-container");
$(idt).show("slow");
return true;
}
var href = ($(this).is("a")) ? $(this).attr("href") : '';
if(href === "#" || href == "")
@@ -133,6 +139,13 @@ $(document).ready(function()
// Off.
$(".e-expandit-off").click(function () {
if($(this).is("input") && $(this).attr("type")=='radio')
{
idt = $(this).parent().nextAll("div.e-expandit-container");
$(idt).hide("slow");
return true;
}
var href = ($(this).is("a")) ? $(this).attr("href") : '';
if(href === "#" || href == "")