diff options
| author | 2024-12-18 11:02:29 +0100 | |
|---|---|---|
| committer | 2024-12-18 11:02:29 +0100 | |
| commit | 3b87372061b16d172899b29fe9b5414b9194abd4 (patch) | |
| tree | 9c743380eedf09cfcb6c1c74d73d5252a562eba2 /app/views/helpers | |
| parent | ff47cab30bd0310b3e5daa1554f6e9231b1d8cb2 (diff) | |
fix: sharing menu entry id (#7113)
* fix sharing menu entry id
* Update main.js
Diffstat (limited to 'app/views/helpers')
| -rw-r--r-- | app/views/helpers/index/normal/entry_share_menu.phtml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/helpers/index/normal/entry_share_menu.phtml b/app/views/helpers/index/normal/entry_share_menu.phtml index af699210a..ca41b23a5 100644 --- a/app/views/helpers/index/normal/entry_share_menu.phtml +++ b/app/views/helpers/index/normal/entry_share_menu.phtml @@ -4,6 +4,7 @@ ?> <ul class="dropdown-menu"> <li class="dropdown-header"><?= _t('index.share') ?> <a href="<?= _url('configure', 'integration') ?>"><?= _i('configure') ?></a></li><?php + $id = '--entryId--'; $link = '--link--'; $title = '--titleText----websiteName----articleAuthors--'; foreach (FreshRSS_Context::userConf()->sharing as $share_options) { @@ -12,6 +13,7 @@ continue; } $cssClass = $share->isDeprecated() ? ' error' : ''; + $share_options['id'] = $id; $share_options['link'] = $link; $share_options['title'] = $title; $share->update($share_options); |
