summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wehner2012-01-21 11:07:58 (GMT)
committer Daniel Wehner2012-01-21 11:07:58 (GMT)
commit34c0bf99e9f4959593fa87eddc0db490a442dedf (patch)
tree67a2cf4e6c6f651c76b3425826aa4c5e16d54e7d
parent9ab32144a85d460f56ee18f5d64bc5d0b68a4b3a (diff)
by dereine: Enlarge also the view name size in the ui. The database was already done
-rw-r--r--includes/admin.inc2
-rw-r--r--plugins/export_ui/views_ui.class.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/includes/admin.inc b/includes/admin.inc
index c374e9a..a13ec53 100644
--- a/includes/admin.inc
+++ b/includes/admin.inc
@@ -311,7 +311,7 @@ function views_ui_add_form($form, &$form_state) {
);
$form['name'] = array(
'#type' => 'machine_name',
- '#maxlength' => 32,
+ '#maxlength' => 128,
'#machine_name' => array(
'exists' => 'views_get_view',
'source' => array('human_name'),
diff --git a/plugins/export_ui/views_ui.class.php b/plugins/export_ui/views_ui.class.php
index 39e182c..22b65cb 100644
--- a/plugins/export_ui/views_ui.class.php
+++ b/plugins/export_ui/views_ui.class.php
@@ -425,8 +425,8 @@ function views_ui_clone_form($form, &$form_state) {
'#title' => t('View name'),
'#type' => 'machine_name',
'#required' => TRUE,
- '#maxlength' => 32,
- '#size' => 32,
+ '#maxlength' => 128,
+ '#size' => 128,
'#machine_name' => array(
'exists' => 'ctools_export_ui_edit_name_exists',
'source' => array('human_name'),