Changeset 2316


Ignore:
Timestamp:
Apr 4, 2014, 10:04:05 AM (9 years ago)
Author:
Nicklas Nordborg
Message:

References #578: Move to BASE 3.3

Fixes setFatalError() method which called non-existing functions in BASE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.reggie/trunk/resources/reggie.js

    r2215 r2316  
    164164  setInnerHTML('errorMessage', message);
    165165  Main.show('errorMessage');
    166   var buttons = Main.getElementsByTagAndClassName('div', 'buttonclass');
    167   if (buttons.length == 0) buttons = Main.getElementsByTagAndClassName('div', 'basicbutton');
     166  var buttons = document.getElementsByClassName('basicbutton');
    168167  for (var i = 0; i < buttons.length; i++)
    169168  {
    170169    if (buttons[i].id) buttons[i].style.display = 'none';
    171170  }
     171 
    172172  Main.show('gorestart');
    173173  for (var fi = 0; fi < document.forms.length; fi++)
Note: See TracChangeset for help on using the changeset viewer.