Software Público Brasileiro
Portal do

Software Público Brasileiro

  • Cadastre-se
  • Entrar
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • noosfero
  • plugins
  • work_assignment
  • public
  • text_field_css.js
  • 99c763b5   Added new attribute to Work_assignment article type ... Browse Code »
    Added default email message attribute to be sent when user choose to notify somebody.
    Refactored build_email_message method that attaches the URL of the uploaded files to the email message.
    Added Java Script to fill in the email field with  an example.
    Removed destroy action method on plugin cms controller, now using the existent in the core cms controller.
    Tallys Martins
    2015-01-21 12:17:31 +0000  
text_field_css.js 418 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
  var element = jQuery("input[name='article_email_notification']");
  var initialVal="example@example.com, example2@example.com.br";
  var isEdited=false;
  element.val(initialVal);

  element.focus(function(){
    if(!isEdited){
        element.val("");
        isEdited=true;
    }

  });

  element.blur(function(){
    if(element.val()==""){
        element.val(initialVal);
        isEdited=false;
    }

  });


Voltar para o topo
Assuntos
Publique seu software
Prestadores de serviço
Espaços dos municípios
Software Público
Entenda o que é
Eventos
Prêmios
Publicações
Serviços
FAQ
Contato
Relatar erros
RSS
O que é?
Assine
Navegação
Acessibilidade
Mapa do site

Desenvolvido com os projetos de software livre Colab, Gitlab, Mailman e Noosfero