Changeset 050e122 in indico


Ignore:
Timestamp:
01/10/11 17:10:53 (2 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
a755c1
Parents:
fdfda9
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (01/07/11 16:44:21)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (01/10/11 17:10:53)
Message:

[MIN] Improve add material -> other material type

  • Display a meaningful message instead of nothing if no material type name has been entered.
  • fixes #480
File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/htdocs/js/indico/MaterialEditor/Editor.js

    rfdfda9 r050e122  
    175175 
    176176        if (value == '') { 
    177             return Html.div({}); 
    178  
     177            return Html.div({style: {textAlign: 'left', fontStyle: 'italic', color: '#881122', marginTop: '10px'}}, 
     178                    $T('Please enter a name for the material type and then select who will be able to access this material type.')); 
    179179        } else if (exists(entry)) { 
    180180 
Note: See TracChangeset for help on using the changeset viewer.