Skip to content

Commit

Permalink
[webui] check in more routes that are ajax only
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Nov 28, 2012
1 parent 820054a commit 036dbda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/webui/app/controllers/package_controller.rb
Expand Up @@ -177,6 +177,7 @@ def revisions
end

def submit_request_dialog
check_ajax
if params[:revision]
@revision = params[:revision]
else
Expand Down Expand Up @@ -535,6 +536,7 @@ def save
end

def delete_dialog
check_ajax
end

def remove
Expand Down
1 change: 1 addition & 0 deletions src/webui/app/controllers/project_controller.rb
Expand Up @@ -699,6 +699,7 @@ def save_targets
end

def remove_target_request_dialog
check_ajax
@project = params[:project]
@repository = params[:repository]
end
Expand Down

0 comments on commit 036dbda

Please sign in to comment.