mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Fix for rating mouse-over status
This commit is contained in:
parent
76b8384a71
commit
941efbeadb
@ -61,7 +61,7 @@ class rater {
|
||||
|
||||
$template = vartrue($options['template'], " STATUS |RATE|VOTES");
|
||||
|
||||
$TEMPLATE['STATUS'] = " <span class='e-rate-status e-rate-status-{$table}' id='e-rate-{$table}-{$id}'>".$label."</span>";
|
||||
$TEMPLATE['STATUS'] = " <span class='e-rate-status e-rate-status-{$table}' id='e-rate-{$table}-{$id}' style='display:none'>".$label."</span>";
|
||||
$TEMPLATE['RATE'] = "<div class='e-rate e-rate-{$table}' id='{$table}-{$id}' data-hint=\"{$datahint}\" data-readonly='{$readonly}' data-score='{$score}' data-url='".e_BASE."rate.php' data-path='{$path}'></div>";
|
||||
$TEMPLATE['VOTES'] = "<div class='muted e-rate-votes e-rate-votes-{$table}' id='e-rate-votes-{$table}-{$id}'><smalll>".$this->renderVotes($votes,$score)."</small></div>";
|
||||
|
||||
|
@ -500,7 +500,7 @@ $(document).ready(function()
|
||||
// size : 16,
|
||||
target : target,
|
||||
targetFormat: '{score}',
|
||||
// targetKeep: true,
|
||||
targetKeep: true,
|
||||
// targetType : 'number',
|
||||
targetText : $('#e-rate-'+tmp).text(),
|
||||
// cancel : true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user