Hi folks,
my problem ist that i will move the "div.activity-item.request-fields" (Issue Detail Fields) in the Customer Portal from the bottom to the top like you can see in my screenshot.
with the following code, executed by the cute plugin I am able to prepend the "Hello" on this position like you can see too in the screenshot above.
setTimeout(function(){
if (jQuery('#jsonPayload').length) {
jQuery( ".cv-request-activity" ).prepend( "<b>Hello </b>" );
}
}, 1)(jQuery);
The problem is now if i try to move the "div.activity-item.request-fields" nothing happens
setTimeout(function(){
if (jQuery('#jsonPayload').length) {
jQuery( ".cv-request-activity" ).prepend( "div.activity-item.request-fields" );
}
}, 1)(jQuery);
Can someone help me with that problem?
Thank you a lot and best regards,
Stephan
Sorry Boys and Girls
I got it :-)
Use the following Code for it :-)
setTimeout(function(){
if (jQuery('#jsonPayload').length) {
jQuery('ul.vp-activity-list').find('div.activity-item.request-fields.clearfix').prependTo('.vp-activity-title');
}
}, 1)(jQuery);
Bye Bye
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.