Ticket #1230: sage-1230-part2.patch

File sage-1230-part2.patch, 747 bytes (added by was, 13 years ago)
  • sage/server/notebook/js.py

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1210463440 25200
    # Node ID 8410ad6b8435376100f1a12a2e516a8909256c96
    # Parent  397c8fa28b534d261ef9343e5ed7343fa0d63a60
    sage-1230 follow up based on referee remark (add back an error message).
    
    diff -r 397c8fa28b53 -r 8410ad6b8435 sage/server/notebook/js.py
    a b function worksheet_list_button_callback( 
    11881188        if (response_text != '') {
    11891189            alert(response_text);
    11901190        }
    1191     }
     1191    } else {
     1192        alert("Error applying function to worksheet(s)." + response_text);
     1193    }   
    11921194    window.location.reload(true);
    11931195}
    11941196