By default, Views adds a <div class="view-empty"> wrapper to the "No Results" text block. VBO kills this.

Please maintain the wrapper to make styling the "no results" block consistent with vanilla Views.

Thanks!

Comments

alexweber’s picture

Status: Active » Needs review
StatusFileSize
new702 bytes

There's probably a better way to do this but this works for me!

bojanz’s picture

Title: Maintain "views empty" class » Add an empty class to the VBO wrapper div in case the view has no results.
Issue summary: View changes
Status: Needs review » Fixed

Retitling.
view-empty is added instead of view-content when the view is empty. When there is a form, that never happens. Your code was making the form have both, and there is no way to replace view-content, so that was obviously not optimal.

Instead, I added a VBO specific class (vbo-views-form-empty):
http://drupalcode.org/project/views_bulk_operations.git/commitdiff/d4cd758

alexweber’s picture

Awesome, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.