Answer the question
In order to leave comments, you need to log in
How to call renderAjax() or action from another action or view?
Hello. I have the following problem.
When the button is clicked, a modular window appears, which is generated through the action, and inside it is renderAjax ().
There is a certain condition under which this window should pop up immediately, and not after clicking.
I can not figure out how to do this and in what place of the application. Please tell me the solution to this problem.
Thanks in advance to all who respond.
Answer the question
In order to leave comments, you need to log in
module window that is generated via actionmodular or still modal? But to hell with him. Through ajax action, it is worth generating content for the modal window, and not the window itself. You cling to the "show.bs.modal" event and send ajax, get it, insert it into the body of the modal.
Something I can't understand with what exactly you have problems there is a block li
.bars li {
position: relative;
margin-bottom: 60px;
background: #ccc;
height: 42px;
border-radius: 3px;
}
.bar-expand {
position: absolute;
left: 0;
top: 0;
margin: 0;
padding-right: 24px;
background: #313131;
display: inline-block;
height: 42px;
line-height: 42px;
border-radius: 3px 0 0 3px;
}
.photoshop {
width: 60%;
-moz-animation: photoshop 2s ease;
-webkit-animation: photoshop 2s ease;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question