Skip to content
Browse files

Default hidden value of blog post author_id combobox

git-svn-id: https://svn.xlsuite.org/internal/weputuplights.com/trunk@17155 bacab573-a924-0410-b505-ece3e248c36b
  • Loading branch information...
1 parent 32cb9b0 commit e9017ebd8c91b8a81e400efb418d418a80d9cc1b spencer committed Sep 10, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 app/views/blog_posts/edit.rjs
View
1 app/views/blog_posts/edit.rjs
@@ -52,6 +52,7 @@ page << create_tab_using_ajax_response("Post | #{truncate(@blog_post.title, 15)}
width: 400,
allowBlank: false,
value: #{(@blog_post.author ? @blog_post.author.display_name : "").to_json},
+ hiddenValue: #{(@blog_post.author ? @blog_post.author.id : nil)},
listeners: {
"change": function(comboBox, newValue, oldValue){
var partyName = partyNameAutoCompleteStore.getById(newValue).get("name");

0 comments on commit e9017eb

Please sign in to comment.
Something went wrong with that request. Please try again.