WebBrowser/data/html/speeddialPage.html

changeset 6129
049ab6ad3144
parent 6127
128d9567a533
child 6135
12e48d27f1d7
equal deleted inserted replaced
6128:afc2cda1a743 6129:049ab6ad3144
566 <a onClick="configureSpeedDial();" title="@SETTINGS-TITLE@" class="sett"></a> 566 <a onClick="configureSpeedDial();" title="@SETTINGS-TITLE@" class="sett"></a>
567 <a onClick="addSpeedDial();" title="@ADD-TITLE@" class="add"></a> 567 <a onClick="addSpeedDial();" title="@ADD-TITLE@" class="add"></a>
568 568
569 <script type="text/javascript"> 569 <script type="text/javascript">
570 function init() { 570 function init() {
571 if (!external.speedDial) {
572 setTimeout(init, 50);
573 return;
574 }
575
576 @INITIAL-SCRIPT@ 571 @INITIAL-SCRIPT@
577 572
578 external.speedDial.pagesChanged.connect(function() { 573 external.speedDial.pagesChanged.connect(function() {
579 if (ignoreNextChanged) { 574 if (ignoreNextChanged) {
580 ignoreNextChanged = false; 575 ignoreNextChanged = false;
600 } 595 }
601 }); 596 });
602 } 597 }
603 598
604 // Initialize 599 // Initialize
605 if (window.external) { 600 if (window._eric_external) {
606 init(); 601 init();
607 } else { 602 } else {
608 document.addEventListener('_eric_external_created', init); 603 document.addEventListener('_eric_external_created', init);
609 } 604 }
610 </script> 605 </script>

eric ide

mercurial