Changeset b3195a in indico
- Timestamp:
- 06/10/10 18:11:33 (3 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, new-webex, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
- Children:
- 3e6afb
- Parents:
- 366d22
- git-author:
- Jeremy Herr <jeremy.herr@…> (03/25/10 16:44:29)
- git-committer:
- Jeremy Herr <jeremy.herr@…> (06/10/10 18:11:33)
- Location:
- indico/MaKaC/plugins/Collaboration/RecordingManager/tpls
- Files:
-
- 2 edited
-
Extra.js (modified) (7 diffs)
-
NewBookingForm.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/plugins/Collaboration/RecordingManager/tpls/Extra.js
r366d22 rb3195a 119 119 ButtonCreateCDSRecord.observeClick(function(){ 120 120 if (ButtonCreateCDSRecord.isEnabled()) { 121 if (typeof RMselectedTalkId != 'undefined' && 122 RMselectedTalkId != '' && 123 RMselectedLOID != 'undefined' && 124 RMselectedLOID != '') { 121 if (typeof RMselectedTalkId != 'undefined' && RMselectedTalkId != '' && 122 (RMviewMode == 'plain_video' || 123 typeof RMselectedLOID != 'undefined' && RMselectedLOID != '')) { 125 124 126 125 RMCreateCDSRecord(); … … 144 143 ButtonCreateIndicoLink.observeClick(function(){ 145 144 if (!ButtonCreateIndicoLink.isEnabled()) { 146 if (typeof RMselectedTalkId != 'undefined' && 147 RMselectedTalkId != '' && 148 RMselectedLOID != 'undefined' && 149 RMselectedLOID != '') { 145 if (typeof RMselectedTalkId != 'undefined' && RMselectedTalkId != '' && 146 (RMviewMode == 'plain_video' || 147 typeof RMselectedLOID != 'undefined' && RMselectedLOID != '')) { 150 148 151 149 RMCreateIndicoLink(); … … 250 248 IndicoUI.Effect.disappear($E('RMrightPaneWebLecture')); 251 249 IndicoUI.Effect.appear($E('RMrightPanePlainVideo'), "block"); 250 251 if (typeof RMselectedTalkId != 'undefined' && RMselectedTalkId != '') { 252 ButtonCreateCDSRecord.enable(); 253 ButtonCreateIndicoLink.enable(); 254 } 252 255 } 253 256 else if (mode == 'web_lecture') { … … 256 259 IndicoUI.Effect.disappear($E('RMrightPanePlainVideo')); 257 260 IndicoUI.Effect.appear($E('RMrightPaneWebLecture'), "block"); 261 262 if (typeof RMselectedTalkId == 'undefined' || RMselectedTalkId == '' || 263 typeof RMselectedLOID == 'undefined' || RMselectedLOID == '') { 264 ButtonCreateCDSRecord.disable(); 265 ButtonCreateIndicoLink.disable(); 266 } 258 267 } 259 268 } … … 301 310 RMMatchSummaryMessage(RMselectedTalkId, RMselectedLOID); 302 311 303 if (typeof RMselectedTalkId != 'undefined' && 304 RMselectedTalkId != '' && 305 typeof RMselectedLOID != 'undefined' && 306 RMselectedLOID != '') { 312 if (typeof RMselectedTalkId != 'undefined' && RMselectedTalkId != '' && 313 (RMviewMode == 'plain_video' || 314 typeof RMselectedLOID != 'undefined' && RMselectedLOID != '')) { 307 315 ButtonCreateCDSRecord.enable(); 308 316 ButtonCreateIndicoLink.enable(); … … 334 342 RMMatchSummaryMessage(RMselectedTalkId, RMselectedLOID); 335 343 336 if (typeof RMselectedTalkId != 'undefined' && 337 RMselectedTalkId != '' && 338 typeof RMselectedLOID != 'undefined' && 339 RMselectedLOID != '') { 344 if (typeof RMselectedTalkId != 'undefined' && RMselectedTalkId != '' && 345 (RMviewMode == 'plain_video' || 346 typeof RMselectedLOID != 'undefined' && RMselectedLOID != '')) { 340 347 ButtonCreateCDSRecord.enable(); 341 348 ButtonCreateIndicoLink.enable(); … … 358 365 function RMchooseVideoFormat(format_string) { 359 366 RMvideoFormat = format_string; 367 368 if (typeof RMselectedTalkId != 'undefined' && RMselectedTalkId != '' && 369 (RMviewMode == 'plain_video' || 370 typeof RMselectedLOID != 'undefined' && RMselectedLOID != '')) { 371 ButtonCreateCDSRecord.enable(); 372 ButtonCreateIndicoLink.enable(); 373 } 374 360 375 } 361 376 -
indico/MaKaC/plugins/Collaboration/RecordingManager/tpls/NewBookingForm.tpl
r209930 rb3195a 95 95 <div class="RMMatchPane" style="height: 200px;"> 96 96 Select video aspect ratio: 97 <input type="radio" name="talks" value=" 4/3" id="RMvideoFormat4to3" onclick="RMchooseVideoFormat('4/3')" checked>98 <label for="RMvideoFormat4to3"> 4/3</label>97 <input type="radio" name="talks" value="standard" id="RMvideoFormat4to3" onclick="RMchooseVideoFormat('standard')" checked> 98 <label for="RMvideoFormat4to3">standard (4/3)</label> 99 99 100 <input type="radio" name="talks" value=" 16/9" id="RMvideoFormat16to9" onclick="RMchooseVideoFormat('16/9')">101 <label for="RMvideoFormat16to9"> 16/9</label>100 <input type="radio" name="talks" value="wide" id="RMvideoFormat16to9" onclick="RMchooseVideoFormat('wide')"> 101 <label for="RMvideoFormat16to9">wide (16/9)</label> 102 102 </div> 103 103 </div>
Note: See TracChangeset
for help on using the changeset viewer.
