Skip to content
Browse files

Modify onmouseover in some place

  • Loading branch information...
1 parent 3cbc6f0 commit b95da1240cd2f29ccaa64bf8508d7b555bcad0eb @Gergely Gergely committed Jul 28, 2010
View
2 osCommerce/OM/Core/Site/Admin/Application/Currencies/pages/main.php
@@ -102,7 +102,7 @@ function feedDataTable(data) {
var newRow = $('#' + dataTableName)[0].tBodies[0].insertRow(rowCounter);
newRow.id = 'row' + parseInt(record.currencies_id);
- $('#row' + parseInt(record.currencies_id)).hover( function() { rowOverEffect(this); }, function() { rowOutEffect(this); }).click(function(event) {
+ $('#row' + parseInt(record.currencies_id)).hover( function() { $(this).addClass('mouseOver'); }, function() { $(this).removeClass('mouseOver'); }).click(function(event) {
if (event.target.type !== 'checkbox') {
$(':checkbox', this).trigger('click');
}
View
3 osCommerce/OM/Core/Site/Admin/Application/ErrorLog/pages/main.php
@@ -79,7 +79,8 @@ function feedDataTable(data) {
var newRow = $('#' + dataTableName)[0].tBodies[0].insertRow(rowCounter);
newRow.id = 'row' + parseInt(rowCounter);
- $('#row' + parseInt(rowCounter)).mouseover( function() { rowOverEffect(this); }).mouseout( function() { rowOutEffect(this); });
+ $('#row' + parseInt(rowCounter)).hover( function() { $(this).addClass('mouseOver'); }, function() { $(this).removeClass('mouseOver'); }).click(function(event) {
+ }).css('cursor', 'pointer');
var newCell = newRow.insertCell(0);
newCell.innerHTML = htmlSpecialChars(record.date);
View
2 osCommerce/OM/Core/Site/Admin/Application/Languages/pages/definitions.php
@@ -92,7 +92,7 @@ function feedDataTable(data) {
var newRow = $('#' + dataTableName)[0].tBodies[0].insertRow(rowCounter);
newRow.id = 'row' + parseInt(record.id);
- $('#row' + parseInt(record.id)).hover( function() { rowOverEffect(this); }, function() { rowOutEffect(this); }).click(function(event) {
+ $('#row' + parseInt(record.id)).hover( function() { $(this).addClass('mouseOver'); }, function() { $(this).removeClass('mouseOver'); }).click(function(event) {
if (event.target.type !== 'checkbox') {
$(':checkbox', this).trigger('click');
}
View
3 osCommerce/OM/Core/Site/Admin/Application/Languages/pages/groups.php
@@ -85,7 +85,8 @@ function feedDataTable(data) {
var newRow = $('#' + dataTableName)[0].tBodies[0].insertRow(rowCounter);
newRow.id = 'row' + record.content_group;
- $('#row' + record.content_group).hover( function() { rowOverEffect(this); }, function() { rowOutEffect(this); });
+ $('#row' + record.content_group).hover( function() { $(this).addClass('mouseOver'); }, function() { $(this).removeClass('mouseOver'); }).click(function(event) {
+ }).css('cursor', 'pointer');
var newCell = newRow.insertCell(0);
newCell.innerHTML = groupLinkIcon + '&nbsp;<a href="' + groupLink.replace('GROUPCODE', htmlSpecialChars(record.content_group)) + '" class="parent">' + htmlSpecialChars(record.content_group) + '</a><span style="float: right;">(' + parseInt(record.total_entries) + ')</span>';
View
2 osCommerce/OM/Core/Site/Admin/Application/ZoneGroups/pages/entries.php
@@ -105,7 +105,7 @@ function feedDataTable(data) {
var newRow = $('#' + dataTableName)[0].tBodies[0].insertRow(rowCounter);
newRow.id = 'row' + parseInt(record.association_id);
- $('#row' + parseInt(record.association_id)).hover( function() { rowOverEffect(this); }, function() { rowOutEffect(this); }).click(function(event) {
+ $('#row' + parseInt(record.association_id)).hover( function() { $(this).addClass('mouseOver'); }, function() { $(this).removeClass('mouseOver'); }).click(function(event) {
if (event.target.type !== 'checkbox') {
$(':checkbox', this).trigger('click');
}
View
2 osCommerce/OM/Core/Site/Admin/Application/ZoneGroups/pages/main.php
@@ -94,7 +94,7 @@ function feedDataTable(data) {
var newRow = $('#' + dataTableName)[0].tBodies[0].insertRow(rowCounter);
newRow.id = 'row' + parseInt(record.geo_zone_id);
- $('#row' + parseInt(record.geo_zone_id)).hover( function() { rowOverEffect(this); }, function() { rowOutEffect(this); }).click(function(event) {
+ $('#row' + parseInt(record.geo_zone_id)).hover( function() { $(this).addClass('mouseOver'); }, function() { $(this).removeClass('mouseOver'); }).click(function(event) {
if (event.target.type !== 'checkbox') {
$(':checkbox', this).trigger('click');
}

0 comments on commit b95da12

Please sign in to comment.
Something went wrong with that request. Please try again.