mirror of
https://github.com/ascribe/onion.git
synced 2025-02-01 20:39:57 +01:00
Merge fixes
This commit is contained in:
parent
49421e1fa1
commit
ddfdaa30e7
@ -130,7 +130,7 @@ let Form = React.createClass({
|
||||
if (ref.state && 'value' in ref.state) {
|
||||
// An input can also provide an `Object` as a value
|
||||
// which we're going to merge with `data` (overwrites)
|
||||
if(ref.state.value.constructor === Object) {
|
||||
if(ref.state.value && ref.state.value.constructor === Object) {
|
||||
Object.assign(data, ref.state.value);
|
||||
} else {
|
||||
data[ref.props.name] = ref.state.value;
|
||||
|
@ -17,9 +17,7 @@ import AscribeSpinner from '../ascribe_spinner';
|
||||
|
||||
import { getLangText } from '../../utils/lang_utils';
|
||||
import { mergeOptions } from '../../utils/general_utils';
|
||||
import { formSubmissionValidation,
|
||||
displayValidFilesFilter,
|
||||
displayRemovedFilesFilter } from '../ascribe_uploader/react_s3_fine_uploader_utils';
|
||||
import { formSubmissionValidation } from '../ascribe_uploader/react_s3_fine_uploader_utils';
|
||||
|
||||
|
||||
let RegisterPieceForm = React.createClass({
|
||||
@ -203,7 +201,7 @@ let RegisterPieceForm = React.createClass({
|
||||
fileClassToUpload={{
|
||||
singular: getLangText('Select representative image'),
|
||||
plural: getLangText('Select representative images')
|
||||
}}/>
|
||||
}}
|
||||
isFineUploaderActive={isFineUploaderActive}
|
||||
disabled={!isFineUploaderEditable}
|
||||
enableLocalHashing={enableLocalHashing}
|
||||
|
@ -248,7 +248,6 @@ const Property = React.createClass({
|
||||
// if the component is actually being shown (!== 'expanded === false')
|
||||
if((this.state.expanded && this.props.checkboxLabel) || !this.props.checkboxLabel) {
|
||||
return ReactAddons.Children.map(this.props.children, (child) => {
|
||||
|
||||
// Since refs will be overriden by this functions return statement,
|
||||
// we still want to be able to define refs for nested `Form` or `Property`
|
||||
// children, which is why we're upfront simply invoking the callback-ref-
|
||||
|
@ -59,12 +59,7 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
|
||||
display: none;
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
|
||||
.client--cyland .icon-ascribe-search {
|
||||
=======
|
||||
.client--cyland .icon-ascribe-search{
|
||||
>>>>>>> master
|
||||
color: $cyland--button-color;
|
||||
}
|
||||
|
||||
@ -147,9 +142,7 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
|
||||
}
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
// disabled buttons
|
||||
.client--cyland {
|
||||
.client--ikonotv {
|
||||
.btn-default.disabled,
|
||||
.btn-default.disabled:hover,
|
||||
.btn-default.disabled:focus,
|
||||
@ -170,7 +163,9 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
|
||||
fieldset[disabled] .btn-default.active {
|
||||
background-color: darken($cyland--button-color, 20%);
|
||||
border-color: darken($cyland--button-color, 20%);
|
||||
=======
|
||||
}
|
||||
}
|
||||
|
||||
// landing page
|
||||
.client--cyland {
|
||||
.route--landing {
|
||||
@ -186,7 +181,6 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
}
|
||||
>>>>>>> master
|
||||
}
|
||||
}
|
||||
|
||||
@ -225,7 +219,6 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
|
||||
.client--cyland .acl-information-dropdown-list .title {
|
||||
color: $cyland--button-color;
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
|
||||
.client--cyland .action-file.icon-ascribe-ok,
|
||||
.client--cyland .action-file.icon-ascribe-ok:hover {
|
||||
@ -241,6 +234,4 @@ $cyland--button-color: $cyland--nav-fg-prim-color;
|
||||
|
||||
.client--cyland .upload-button-wrapper > span {
|
||||
color: $cyland--button-color;
|
||||
}
|
||||
=======
|
||||
>>>>>>> master
|
||||
}
|
Loading…
Reference in New Issue
Block a user