Merge pull request #42 from Supremicus/feature/fix_qtip_binds

Fix qtips on Display Show and Config Post Processing
This commit is contained in:
JackDandy 2014-11-21 11:45:12 +00:00
commit f3785e9867
4 changed files with 11 additions and 11 deletions

View file

@ -34,6 +34,7 @@
* Change airdateModifyStamp to handle hour that is "00:00" * Change airdateModifyStamp to handle hour that is "00:00"
* Fix a handler when ShowData is not available in tvdb and tvrage APIs * Fix a handler when ShowData is not available in tvdb and tvrage APIs
* Fix a handler when EpisodeData is not available in tvdb and tvrage APIs * Fix a handler when EpisodeData is not available in tvdb and tvrage APIs
* Fix qtips on Display Show and Config Post Processing
[develop changelog] [develop changelog]
* Fix typo for commit "ShowData handler" i.e. SHA-1:3eec217 * Fix typo for commit "ShowData handler" i.e. SHA-1:3eec217

View file

@ -300,7 +300,7 @@
<label for="naming_pattern"> <label for="naming_pattern">
<span class="component-title"></span> <span class="component-title"></span>
<span class="component-desc"> <span class="component-desc">
<input type="text" name="naming_pattern" id="naming_pattern" value="$sickbeard.NAMING_PATTERN" class="form-control input-sm input350" /> <input type="text" name="naming_pattern" id="naming_pattern" value="$sickbeard.NAMING_PATTERN" class="form-control input-sm input350 custom-pattern" />
<img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_key" title="Toggle Naming Legend" class="legend" class="legend" /> <img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_key" title="Toggle Naming Legend" class="legend" class="legend" />
</span> </span>
</label> </label>
@ -520,7 +520,7 @@
<label for="naming_abd_pattern"> <label for="naming_abd_pattern">
<span class="component-title"></span> <span class="component-title"></span>
<span class="component-desc"> <span class="component-desc">
<input type="text" name="naming_abd_pattern" id="naming_abd_pattern" value="$sickbeard.NAMING_ABD_PATTERN" class="form-control input-sm input350" /> <input type="text" name="naming_abd_pattern" id="naming_abd_pattern" value="$sickbeard.NAMING_ABD_PATTERN" class="form-control input-sm input350 custom-pattern" />
<img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_abd_key" title="Toggle ABD Naming Legend" class="legend" /> <img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_abd_key" title="Toggle ABD Naming Legend" class="legend" />
</span> </span>
</label> </label>
@ -718,7 +718,7 @@
<label for="naming_sports_pattern"> <label for="naming_sports_pattern">
<span class="component-title"></span> <span class="component-title"></span>
<span class="component-desc"> <span class="component-desc">
<input type="text" name="naming_sports_pattern" id="naming_sports_pattern" value="$sickbeard.NAMING_SPORTS_PATTERN" class="form-control input-sm input350" /> <input type="text" name="naming_sports_pattern" id="naming_sports_pattern" value="$sickbeard.NAMING_SPORTS_PATTERN" class="form-control input-sm input350 custom-pattern" />
<img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_sports_key" title="Toggle Sports Naming Legend" class="legend" /> <img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_sports_key" title="Toggle Sports Naming Legend" class="legend" />
</span> </span>
</label> </label>
@ -921,7 +921,7 @@
<label for="naming_anime_pattern"> <label for="naming_anime_pattern">
<span class="component-title"></span> <span class="component-title"></span>
<span class="component-desc"> <span class="component-desc">
<input type="text" name="naming_anime_pattern" id="naming_anime_pattern" value="$sickbeard.NAMING_ANIME_PATTERN" class="form-control input-sm input350" /> <input type="text" name="naming_anime_pattern" id="naming_anime_pattern" value="$sickbeard.NAMING_ANIME_PATTERN" class="form-control input-sm input350 custom-pattern" />
<img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_anime_key" title="Toggle Anime Naming Legend" class="legend" /> <img src="$sbRoot/images/legend16.png" width="16" height="16" alt="[Toggle Key]" id="show_naming_anime_key" title="Toggle Anime Naming Legend" class="legend" />
</span> </span>
</label> </label>

View file

@ -82,7 +82,7 @@
<div class="clearfix"></div> <div class="clearfix"></div>
<div id="showtitle" data-showname="$show.name"> <div id="showtitle" data-showname="$show.name">
<h1 class="title" id="scene_exception_$show.indexerid">$show.name</h1> <h1 class="title" id="scene_exception_$show.indexerid"><span>$show.name</span></h1>
</div> </div>

View file

@ -1,6 +1,5 @@
$(function () { $(function () {
$('.title a').each(function () { $('.title span').each(function () {
match = $(this).parent().attr("id").match(/^scene_exception_(\d+)$/);
$(this).qtip({ $(this).qtip({
content: { content: {
text: 'Loading...', text: 'Loading...',
@ -20,11 +19,11 @@ $(function () {
}, },
position: { position: {
viewport: $(window), viewport: $(window),
my: 'bottom center', my: 'left middle',
at: 'top center', at: 'right middle',
adjust: { adjust: {
y: 10, y: 0,
x: 0 x: 10
} }
}, },
style: { style: {