removed testing comments from form, fixed setType issue in js
This commit is contained in:
parent
0a109f1656
commit
f5a39b1148
2 changed files with 4 additions and 5 deletions
|
@ -50,10 +50,6 @@
|
|||
<#--In order to fill out the subject-->
|
||||
<#assign acFilterForIndividuals = "['" + editConfiguration.subjectUri + "']" />
|
||||
|
||||
range options ${rangeOptions?keys?size!"FUCK"}
|
||||
<#if rangeOptionsExist >FUXINGEXIST!<#else>NOEXIST!</#if>
|
||||
|
||||
|
||||
<h2>${formTitle}</h2>
|
||||
|
||||
<#if editConfiguration.propertySelectFromExisting = true>
|
||||
|
|
|
@ -136,7 +136,6 @@ var customForm = {
|
|||
// if ((!this.supportEdit) && (this.editMode == 'edit' || this.editMode == 'repair')) {
|
||||
if (this.editMode == 'edit' || this.editMode == 'repair') {
|
||||
this.initFormWithValidationErrors();
|
||||
this.initFormFullView();
|
||||
}
|
||||
else if (this.findValidationErrors()) {
|
||||
this.initFormWithValidationErrors();
|
||||
|
@ -546,6 +545,10 @@ var customForm = {
|
|||
if (selectedType.val().length) {
|
||||
this.acTypes[acTypeKey] = selectedType.val();
|
||||
this.typeName = selectedType.html();
|
||||
if ( this.editMode == 'edit' ) {
|
||||
var $acSelect = this.acSelections[acTypeKey];
|
||||
$acSelect.find('label').html('Selected ' + this.typeName + ':');
|
||||
}
|
||||
}
|
||||
// reset to empty values; may not need
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue