[Rt-commit] rt branch, 4.4/initial-custom-field, repushed
Dustin Graves
dustin at bestpractical.com
Fri May 6 13:23:01 EDT 2016
The branch 4.4/initial-custom-field was deleted and repushed:
was 2928131f083ca86b334a8c89c31043cd6ac2d82e
now ce92fa285c404b7ad8ee65aa20133969a4631853
1: 60c12a8 ! 1: dca5e8b Add a new SetInitialCustomField right
@@ -187,15 +187,15 @@
--- a/share/html/Articles/Article/Edit.html
+++ b/share/html/Articles/Article/Edit.html
@@
- CFContent => \%CFContent,
- ClassObj => $ClassObj,
+ CFContent => \%CFContent,
+ ClassObj => $ClassObj,
%ARGS,
- id =>$id,
+ id => $id,
+ ForCreation => ($id eq 'new'),
&>
-
- <tr>
+ </&>
+
diff --git a/share/html/Asset/Create.html b/share/html/Asset/Create.html
--- a/share/html/Asset/Create.html
2: dd4105f = 2: 182d10a Hide empty "edit custom fields" panels
3: fe7ca40 = 3: 13016f4 Add a $CF->CurrentUserCanSee method and switch to it
4: c9c6f35 = 4: ff67b75 Support passing the CF directly to CustomFieldValueIsEmpty
5: 2a66732 = 5: f3cd5f6 Avoid constantly reloading the OCFV CustomFieldObj
6: 2928131 ! 6: ce92fa2 Allow SetInitialCustomFieldValue without SeeCustomField
@@ -159,7 +159,7 @@
+ $m->content_lacks('Test Set Initial CF', 'has no CF input');
+
+ my $form = $m->form_name("TicketCreate");
-+ my $edit_field = "Object-RT::Ticket--CustomField-$cfid-Value";
++ my $edit_field = "Object-RT::Ticket--CustomField-$cfid-Value";
+ ok !$form->find_input( $edit_field ), 'no form field on the page';
+
+ $m->submit_form(
@@ -189,7 +189,7 @@
+ $m->content_contains('Test Set Initial CF', 'has CF input');
+
+ my $form = $m->form_name("TicketCreate");
-+ my $edit_field = "Object-RT::Ticket--CustomField-$cfid-Value";
++ my $edit_field = "Object-RT::Ticket--CustomField-$cfid-Value";
+ ok $form->find_input( $edit_field ), 'has form field on the page';
+
+ $m->submit_form(
More information about the rt-commit
mailing list