// Fix Mark as favorite not updated
This commit is contained in:
1 parent
46fef35348
commit
a1f5455d07
2 files changed
+1
-5
No files matched your search
@@ -348,7 +348,7 @@
|
||||
// res.status = cache or refresh
|
||||
if (data == 'OK')
|
||||
{
|
||||
el.parent('div').find('.toggle_favorite').toggle();
|
||||
el.parent('li').find('.toggle_favorite').toggle();
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
@@ -150,8 +150,6 @@
|
||||
<a class="action_module action_unfavorite toggle_favorite" data-module="{$module->name}" data-value="0" href="#">
|
||||
<i class="icon-star"></i> {l s='Remove from Favorites'}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="action_module action_favorite toggle_favorite" data-module="{$module->name}" data-value="1" href="#" style="display: none;">
|
||||
<i class="icon-star"></i> {l s='Mark as Favorite'}
|
||||
</a>
|
||||
@@ -161,8 +159,6 @@
|
||||
<a class="action_module action_unfavorite toggle_favorite" data-module="{$module->name}" data-value="0" href="#" style="display: none;">
|
||||
<i class="icon-star"></i> {l s='Remove from Favorites'}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="action_module action_favorite toggle_favorite" data-module="{$module->name}" data-value="1" href="#">
|
||||
<i class="icon-star"></i> {l s='Mark as Favorite'}
|
||||
</a>
|
||||
|
||||
Reference in new issue
Block a user