nutella_framework 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/framework_components/roomcast-bot/roomcast_bot.rb +32 -1
- data/framework_components/roomcast-channel-creator/dist/app.js +10 -4
- data/framework_components/roomcast-channel-creator/dist/roomcast-default.png +0 -0
- data/framework_components/roomcast-channel-creator/src/app/components/Channel.js +9 -3
- data/framework_components/roomcast-package-creator/dist/main.css +4 -1
- data/framework_components/roomcast-package-creator/src/less/main.less +3 -0
- data/framework_components/roomcast-teacher-controls/dist/app.js +2 -3
- data/framework_components/roomcast-teacher-controls/dist/nutella_lib.js +0 -0
- data/framework_components/roomcast-teacher-controls/src/app/components/Footer.js +1 -2
- metadata +3 -2
@@ -124,11 +124,17 @@ var Channel = React.createClass({
|
|
124
124
|
var value = this.refs['textFieldUrl' + this.props.channelId].getValue();
|
125
125
|
switch(this.props.channel.type) {
|
126
126
|
case 'web':
|
127
|
-
var
|
128
|
-
|
127
|
+
var prefix1 = value.slice(0, 7);
|
128
|
+
var prefix2 = value.slice(0, 8);
|
129
|
+
if(prefix1 === 'http://') {
|
129
130
|
// do nothing
|
130
131
|
} else {
|
131
|
-
|
132
|
+
if(prefix2 === 'https://') {
|
133
|
+
var value_ = value.slice(8, value.length);
|
134
|
+
value = 'http://' + value_;
|
135
|
+
} else {
|
136
|
+
value = 'http://' + value;
|
137
|
+
}
|
132
138
|
}
|
133
139
|
break;
|
134
140
|
case 'iOS':
|