Revision 1053:80cf86be1611 vendor/plugins/redmine_bibliography/app/controllers

View differences:

vendor/plugins/redmine_bibliography/app/controllers/publications_controller.rb
43 43
        format.html{}
44 44

  
45 45
        if @bibtex_parse_success
46
          # todo: should this code be here?
46 47
          @ieee_prev = CiteProc.process bib.to_citeproc, :style => :ieee, :format => :html
48
          @bibtex_parsed_authors = bib[0].authors
49
          logger.error { "Authors: #{@bibtex_parsed_authors}" }
47 50
        end
48 51

  
49 52
        format.js
......
82 85
#    rescue BibtexParsingError => e
83 86
#      logger.error { "Bibtex Parsing Error #{bib.errors}" }
84 87

  
85
      # todo: not showing... should be inside render?
86
#      flash[:error] = e.message
87

  
88
#      respond_to do |format|
89
#       format.js{
90
#         render(:update) {|page|
91
#         }
92
#       }
93
#      end
94

  
95 88
#    end
96 89

  
97 90

  

Also available in: Unified diff