Sha256: 19e05f803e993854add88338291e94f13bc2952bef4113c4b4c1c8c0d14e9cb5

Contents?: true

Size: 278 Bytes

Versions: 8

Compression:

Stored size: 278 Bytes

Contents

if @vote.valid?
  page.replace_html "poll_ui_#{@choice.poll.id}", :partial => 'polls/poll_ui', :locals => {:poll => @choice.poll}
else
  page.alert(:error.l+" #{@vote.errors.full_messages.join(', ')}")
  page.select('table.poll.loading').invoke('removeClassName', 'loading')
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/votes/create.js.rjs
community_engine-2.3.1 app/views/votes/create.js.rjs
community_engine-2.3.0 app/views/votes/create.js.rjs
community_engine-2.1.0 app/views/votes/create.js.rjs
community_engine-2.0.0 app/views/votes/create.js.rjs
community_engine-2.0.0.beta3 app/views/votes/create.js.rjs
community_engine-2.0.0.beta2 app/views/votes/create.js.rjs
community_engine-2.0.0.beta1 app/views/votes/create.js.rjs