Actions

Translations

Theme editor/254/sl: Difference between revisions

From LimeSurvey Manual

(Created page with "<syntaxhighlight lang="php" enclose="div"> function removeContactAdressFromMessage() { if ($('#tokenmessage').length > 0)    {    var oldMessage = $('#tokenmessage').html(...")
 
m (FuzzyBot moved page Translations:Template editor/254/sl to Translations:Theme editor/254/sl without leaving a redirect: Part of translatable page "Template editor".)
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 11:40, 3 January 2018

function removeContactAdressFromMessage()
{
if ($('#tokenmessage').length > 0)
   {
   var oldMessage = $('#tokenmessage').html();
   var indexContact = oldMessage.indexOf('Prosimo obrnite se na');
   var newMessage = oldMessage.substr(0, indexContact);
   $('#tokenmessage').html(newMessage);
   }
}