Ignore:
Timestamp:
03/23/14 22:58:54 (11 years ago)
Author:
hendrikvanantwerpen
Message:
  • Added grey icons for better highlighting, synced block and large buttons.
  • Introduced extra color for text, now disabled/inactive/hovered -> it's not very clear though.
  • Added confirmation on irrevertable actions.
  • Added support for query string in our new request implementation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/src/client/qed-client/pages/questions.js

    r495 r529  
    5050        },
    5151        onDeleteQuestion: function(question) {
     52            if ( !confirm("Are you sure you want to delete this question?") ) {
     53                return;
     54            }
    5255            questions.remove(question)
    5356            .then(lang.hitch(this,function(){
     
    6265        },
    6366        onPublishQuestion: function(question) {
     67            if ( !confirm("After publication the question cannot be modified anymore, are you sure?") ) {
     68                return;
     69            }
    6470            question.publicationDate = new Date();
    6571            questions.save(question)
Note: See TracChangeset for help on using the changeset viewer.