PDA

View Full Version : 4.6.1 general flatty - Get More Details - Characters left count not working



Miroslav Kubacak
February 6, 2018, 06:37 PM
Hello,
as title said, characters left count is not working (not counting down) in Get More Details section. It is bug.
With Contact seller button (and popup contact window) it is working.
Is here some simple edit in code to get working it?
Thank you.

2731

Rudi
February 7, 2018, 06:34 AM
Hello,

Go to your ftp > templates > general_flatty > js > lib.js > find a row "this.setupTextarea = function()" and change the code inside to:



var textarea = $('form[name=contact_owner] textarea[name=contact_message]');
textarea.each(function(){
$(this).next('.textarea_counter_default').remove() ;
$(this).textareaCount({
'maxCharacterSize': rlConfig['messages_length'],
'warningNumber': 20
});
});

Miroslav Kubacak
February 9, 2018, 02:08 AM
Hello Rudi,

again, thank you for help, it worked perfect.