Skip to content

Commit

Permalink
Fixed plonetabs.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Oct 13, 2013
1 parent d6abfc0 commit 0b144e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions quintagroup/plonetabs/browser/resources/plonetabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ function sendRequest(formData, handler, this_event, parse) {
data: formData,
dataType: 'json',
success: function(response) {
reloadActions(formData);
if (parse) {
parseResponse(response, this_event, formData, handler);
}
else if (handler) {
handler(response, this_event, formData);
}
reloadActions(formData);
},
error: function() {
setStatusMessage('error', 'Server connection error. Please try again');
Expand Down Expand Up @@ -117,8 +117,7 @@ function sortableList() {
}

function updateSortable() {
$('#tabslist').unbind();
$('#tabslist').sortable().bind('sortupdate', function() {sortableList();});
$('#tabslist').unbind().sortable({handle: 'img'}).bind('sortupdate', function() {sortableList();});
}

function startupActions() {
Expand Down

0 comments on commit 0b144e2

Please sign in to comment.