wip
This commit is contained in:
parent
f87bc43cfd
commit
94f91f28d0
|
@ -25,7 +25,7 @@ class KagiSummarizerExtension extends Minz_Extension {
|
||||||
public function addSummarizeButton(FreshRSS_Entry $entry): FreshRSS_Entry {
|
public function addSummarizeButton(FreshRSS_Entry $entry): FreshRSS_Entry {
|
||||||
$this->registerTranslates();
|
$this->registerTranslates();
|
||||||
|
|
||||||
$entry->_content('<p class="kagi-summary"><a class="btn" onClick="kagiSummarize(\'testing\')" href="#">' . _t('ext.kagiSummarizer.ui.summarize_button') . '</a></p>' . $entry->content());
|
$entry->_content('<p class="kagi-summary"><a class="btn" onclick="kagiSummarize(\'testing\');" href="javascript:void(0);">' . _t('ext.kagiSummarizer.ui.summarize_button') . '</a></p>' . $entry->content());
|
||||||
return $entry;
|
return $entry;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
function kagiSummarize(url) {
|
function kagiSummarize(url) {
|
||||||
console.log('got url', url);
|
console.log('got url', url);
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue