Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #134 from jmacwilliams/6.x

updated configurations to save display mode as well and config options, ...
  • Loading branch information...
commit b338e388ef734acb0da59c9593384eb0cbfd7fda 2 parents c71cf5c + c2f0b10
Jonathan Green jonathangreen authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 ObjectDetails.inc
4 ObjectDetails.inc
@@ -207,8 +207,10 @@ function fedora_repository_object_details_XSLT_config() {
207 207 * The user supplied values for the form.
208 208 */
209 209 function fedora_repository_object_details_XSLT_config_submit($form, &$form_state) {
  210 + variable_set('islandora_object_details_display_table', 'xslt');
210 211 variable_set('islandora_object_details_xslt_sheet', $form_state['values']['xslt']);
211 212 variable_set('islandora_object_details_xslt_datastream', $form_state['values']['dsid']);
  213 + drupal_set_message('Object Details view has been set to XSLT and your configuration has been saved');
212 214 }
213 215
214 216 /**
@@ -268,5 +270,7 @@ function fedora_repository_object_details_table_config() {
268 270 * The user supplied values for the form.
269 271 */
270 272 function fedora_repository_object_details_table_config_submit($form, &$form_state) {
  273 + variable_set('islandora_object_details_display_table', 'table');
271 274 variable_set('islandora_object_details_table_datastream', $form_state['values']['dsid']);
  275 + drupal_set_message('Object Details view has been set to Table and your configuration has been saved');
272 276 }

0 comments on commit b338e38

Please sign in to comment.
Something went wrong with that request. Please try again.