Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 3 additions & 0 deletions uc_stock/uc_stock.admin.inc
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ function uc_stock_edit_form($form, &$form_state, $node) {
$form['stock'][$id]['active'] = array(
'#type' => 'checkbox',
'#default_value' => !empty($stock['active']) ? $stock['active'] : 0,
'#attributes' => array(
'data-tableselect-id' => 'uc_stock_edit_form',
),
);

// Sanitized version of the SKU for display.
Expand Down
15 changes: 15 additions & 0 deletions uc_stock/uc_stock.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* @file
* Styles for uc_stock module.
*/


/* Edit form */
.uc-stock-edit-form th.select-all {
white-space: nowrap;
}

/* Options sub-tab of product */
.uc-object-options-form th.select-all {
white-space: nowrap;
}
4 changes: 2 additions & 2 deletions uc_stock/uc_stock.info
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ package = Ubercart - extra
backdrop = 1.x
type = module

; Test cases
; Views handlers
configure = admin/store/settings/stock

stylesheets[all][] = uc_stock.css