Changeset 4910

Show
Ignore:
Timestamp:
10/29/09 00:59:31 (4 weeks ago)
Author:
auno
Message:

Took away JavaScript errror for IE. BugzID#102911

Location:
branches/greyhound
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • branches/greyhound/default_templates/javascript.mtml

    r4196 r4910  
    404404                if (found) { 
    405405                  M.log(c.DEBUG,found); 
    406                         if (!M.getEl(found[0]).hasOwnProperty('className')) { 
     406                        if (!Object.prototype.hasOwnProperty.call(M.getEl(found[0]), 'className')) { 
    407407                                if (_findIdMatch(found[1])) { 
    408408                        pageNum = Math.floor(commentArrId / commentsPerPage) + 1; 
  • branches/greyhound/themes/classic_blog/templates/javascript.mtml

    r4196 r4910  
    404404                if (found) { 
    405405                  M.log(c.DEBUG,found); 
    406                         if (!M.getEl(found[0]).hasOwnProperty('className')) { 
     406                        if (!Object.prototype.hasOwnProperty.call(M.getEl(found[0]), 'className')) { 
    407407                                if (_findIdMatch(found[1])) { 
    408408                        pageNum = Math.floor(commentArrId / commentsPerPage) + 1; 
  • branches/greyhound/themes/classic_website/templates/javascript.mtml

    r4196 r4910  
    404404                if (found) { 
    405405                  M.log(c.DEBUG,found); 
    406                         if (!M.getEl(found[0]).hasOwnProperty('className')) { 
     406                        if (!Object.prototype.hasOwnProperty.call(M.getEl(found[0]), 'className')) { 
    407407                                if (_findIdMatch(found[1])) { 
    408408                        pageNum = Math.floor(commentArrId / commentsPerPage) + 1; 
  • branches/greyhound/themes/pico/templates/javascript.mtml

    r4872 r4910  
    404404                if (found) { 
    405405                  M.log(c.DEBUG,found); 
    406                         if (!M.getEl(found[0]).hasOwnProperty('className')) { 
     406                        if (!Object.prototype.hasOwnProperty.call(M.getEl(found[0]), 'className')) { 
    407407                                if (_findIdMatch(found[1])) { 
    408408                        pageNum = Math.floor(commentArrId / commentsPerPage) + 1;