Skip to content

Commit

Permalink
fix incorrect function definitions
Browse files Browse the repository at this point in the history
In 8e63251 (add parent button to the editor), the version of
add_save_button in static/js/helpers.js was renamed to
add_save_buttons, while the version in server/assets/helpers.js and
call-site was updated to call add_server_buttons.

At the same time, the version of set_save_button in
static/js/helpers.js was renamed to set_server_button, but no
call-site was changed. This smells like fat fingers ;)
  • Loading branch information
kusma committed Nov 30, 2011
1 parent 8e63251 commit 7b8fb98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ function convertBytesToHex( byteArray ) {
}

// dummy functions for saveButton
function set_server_button(visibility) {
function set_save_button(visibility) {
}

function add_save_buttons() {
function add_server_buttons() {
}

0 comments on commit 7b8fb98

Please sign in to comment.