[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Search Feature for PostsActivity... #49

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
removed unwanted methods
  • Loading branch information
aagam-shah committed Aug 31, 2013
commit eb6d3704a9c0a57c9d32aab9303fca3a2c99afbb
6 changes: 1 addition & 5 deletions src/org/wordpress/android/ui/posts/PostsActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
@Override
public boolean onOptionsItemSelected(final MenuItem item) {
int itemId = item.getItemId();
if (itemId == R.id.menu_refresh) {
checkForLocalChanges(true);
new ApiHelper.RefreshBlogContentTask(this, WordPress.currentBlog).execute(false);
return true;
} else if (itemId == R.id.menu_new_post) {
if (itemId == R.id.menu_new_post) {
Intent i = new Intent(this, EditPostActivity.class);
i.putExtra("id", WordPress.currentBlog.getId());
i.putExtra("isNew", true);
Expand Down