Closed (fixed)
Project:
Hierarchical Select
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2014 at 23:25 UTC
Updated:
4 Dec 2014 at 12:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
markhalliwellComment #2
markhalliwellComment #3
markhalliwellNot specific to HTML5, just copied title.
Comment #4
yenidem commentedHello Mark,
Thank you for your support and your help.
Unfortunately the patch above did not work. My admin theme is Shiny, and I also use admin theme when editing/creating nodes. Shiny theme is not bootstrap but my default theme is bootstrap sub-theme.
Actually I do not understand why the bootstrap theme altering form elements of Shiny theme, if is there any possibility to stop altering admin theme the problem will solve temporary.
After applied subjected patch the submit button code did not altered until selected any parent term, when I change parent term the submit button code altered.
Thank you again.
Comment #5
yenidem commentedI solved the problem as barbaric, I added function below;
above code works but it is not healthy..
Comment #6
markhalliwellAgain. Some module (I thought this one, from your message) is targeting
<input>buttons specifically. I'm surprised the above patch didn't work for you. Regardless, I agree, the "solution" in #5 isn't really a solution at all... it's just a hack.Comment #7
yenidem commentedYes, the submit button does not work if own code is . I applied the patch#1 to on different sites and both of them did not work. When you choose any option from select list the Submit button changing to element from . The admin and node editing theme is not bootstrap but ajax queries altering button based on default theme. I really need Bootstrap and Hierarchical Select module so I have to use solution#5 until find better solution :/
Comment #8
vitalie commentedI have same problem as in #7, patch #1 does not help. I discovered that the problem lies in the fact that addOpString is not set correctly (see attachBindings functions in the js file). Here is a patch that worked for me. (It works for me in both Bootstrap and Bartik themes). I attach the patch (I hope I've named it correctly).
Comment #9
yenidem commented@vitalie,
the patch #8 worked, despite the input element altered the patch works. I'll test and review and inform you if there is a bug.
thank you.
Comment #10
erilot commentedThe code change in #8 worked here as well. I haven't studied the code at all, so I don't know how clean it is or whether it plays by the rules... but it does allow the dropbox to work when using bootstrap.
I'll continue to test here, but so far so good.
Comment #11
sylus commentedPatched in #8 worked greatly for me for bootstrap + hs module.
Comment #12
stefan.r commentedCommitted, thanks!
Comment #13
stefan.r commented