Ignore:
Timestamp:
06/03/14 17:18:10 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Add "Bulk Reverse Zone Operations" as an overlay on "Bulk Domain Operations"
Add "Select all" widget to bulk operations page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/widgets.js

    r590 r638  
    1414  var newstate = document.getElementById("master").checked;
    1515  for (var i=0; i<y.length; i++) {
    16     // only monkey with the dom_nnnn checkboxes
    17     if (y[i].name.substring(0,4) == 'dom_') {
     16    // only monkey with the dom/rev_nnnn checkboxes
     17    if (y[i].name.substring(0,4) == 'dom_' || y[i].name.substring(0,4) == 'rev_') {
    1818      if (newstate == true) {
    1919        // if the master gets checkmarked, save the original state of
    20         // the dom_nnn checkbox, and force it to "true"
     20        // the dom/rev_nnn checkbox, and force it to "true"
    2121        bulk_selstate[i] = y[i].checked;
    2222        y[i].checked = true;
Note: See TracChangeset for help on using the changeset viewer.