Changeset 6e2ea5 in indico
- Timestamp:
- 06/08/10 11:33:35 (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, 0da0c1403bae8e51d8229f460181c71b9e6dda72
- Children:
- fa6855
- Parents:
- 7a718e
- git-author:
- Pedro Ferreira <jose.pedro.ferreira@…> (06/01/10 12:27:42)
- git-committer:
- Jose Benito <jose.benito.gonzalez@…> (06/08/10 11:33:35)
- Location:
- indico
- Files:
-
- 4 edited
-
MaKaC/plugins/Collaboration/Vidyo/tpls/Main.js (modified) (1 diff)
-
htdocs/css/Default.css (modified) (1 diff)
-
htdocs/js/indico/Collaboration/Collaboration.js (modified) (1 diff)
-
htdocs/js/indico/Core/Dialogs/Popup.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/plugins/Collaboration/Vidyo/tpls/Main.js
r9ea55a r6e2ea5 174 174 }, 175 175 176 beforeCreate: function(pluginName, conferenceId) { 177 var allowCreation = true; 178 each(bookings, function(booking) { 179 if (booking.type == 'Vidyo') { 180 allowCreation = false; 181 } 182 }); 183 184 if (!allowCreation) { 185 CSErrorPopup($T("Whoops..."), 186 [Html.unescaped.div({}, 187 $T("There is already a Vidyo booking present. " + 188 "Right now it is only possible to create " + 189 "<strong>a single Vidyo booking per event</strong>. " + 190 "Please delete it if you want to create a new one."))]); 191 } 192 193 return allowCreation; 194 }, 195 176 196 postCreate: function(booking) { 177 197 }, -
indico/htdocs/css/Default.css
r7494a5 r6e2ea5 3816 3816 3817 3817 .errorList { 3818 color: #881122;3818 width: 400px; 3819 3819 } 3820 3820 -
indico/htdocs/js/indico/Collaboration/Collaboration.js
r476098 r6e2ea5 1223 1223 */ 1224 1224 var createBooking = function(pluginName, conferenceId) { 1225 // Code that has to be executed before the dialog is presented 1226 if (pluginHasFunction(pluginName, "beforeCreate")) { 1227 // let the function define whether we're going to draw the 1228 // dialog or not 1229 if (!codes[pluginName].beforeCreate(pluginName, conferenceId)) { 1230 return false; 1231 } 1232 } 1225 1233 1226 1234 var popup = new BookingPopup('create', pluginName, null, conferenceId); 1227 1235 popup.open(); 1236 1228 1237 if (pluginHasFunction(pluginName, "onCreate")) { 1229 1238 codes[pluginName].onCreate(popup); 1230 1239 } 1231 1240 popup.postDraw(); 1241 1242 return true; 1232 1243 } 1233 1244 -
indico/htdocs/js/indico/Core/Dialogs/Popup.js
r0009bb r6e2ea5 571 571 var errorList = null; 572 572 if (this.errors.length == 1) { 573 errorList = Html. span({className:"errorList"}, this.errors[0]);573 errorList = Html.div({className:"errorList"}, this.errors[0]); 574 574 }else{ 575 575 errorList = Html.ul("errorList");
Note: See TracChangeset
for help on using the changeset viewer.
