For bug 3168757:
- Use jQuery to make the text look and behave like a link
This commit is contained in:
@@ -2512,5 +2512,19 @@ $(document).ready(function() {
|
||||
*/
|
||||
PMA_init_slider();
|
||||
|
||||
/**
|
||||
* Enables the text generated by PMA_linkOrButton() to be clickable
|
||||
*/
|
||||
$('.clickprevimage')
|
||||
.css('color', function(index) {
|
||||
return $('a').css('color');
|
||||
})
|
||||
.css('cursor', function(index) {
|
||||
return $('a').css('cursor');
|
||||
}) //todo: hover effect
|
||||
.live('click',function(e) {
|
||||
$(this).parent().find('input:image').click();
|
||||
});
|
||||
|
||||
}) // end of $(document).ready()
|
||||
|
||||
|
Reference in New Issue
Block a user