Uploaded image for project: 'Links directory'
  1. Links directory
  2. LINKS-109

There is no dynamic link and yet the next JS is generated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.0
    • 2.1.0
    • None

      <!--
      
          		function updateDynamicInformation_13605130823217038() {
          		
          			var themes = [];
          			
          			
      	        
      	    		$j.ajax({
      	    			url: '/_plugins/link-directory/dynamic-information/update/ent/default',
      	    			type: 'POST',
      	    			dataType: 'xml',
      	    			data: {
      	    				site: 'ent',
      	    				lang: 'fr',
      	    				themes: themes.length > 0 ? themes.join(',') : [],
      	    				maxItems: '5'
      	    			},
      	    			success: function(data) {
      	    				$j(data).find('> dynamic-information > dynamic-information').each(function(){
      	    					var linkId = $j(this).attr('id');
      	    					var spanId = 'link-info-13605130823217038-' + linkId.substring('directoryLink://'.length);
      	    					$j('#' + spanId).html(this.innerHTML);
      	                    });
      	    			},
      	    			error: function(result, status, error) {
      	    				console.log(error);
      	    			},
      	    			complete: function() {
      	    				setTimeout(updateDynamicInformation_13605130823217038, 60000);
      	    			}
      	    		});
          		}
                  
                  $j(document).ready(updateDynamicInformation_13605130823217038);
         		
      // -->	
      
      

            lbouchet Loïc Bouchet
            lperier Laurence Perier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: