Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added domain log session id to exp user table. Actually tied in exp
conversion paragraph.
- Loading branch information
Doug Youch
committed
Sep 9, 2010
1 parent
69a95bf
commit bc0a734
Showing
10 changed files
with
112 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<div class='cms_form'> | ||
|
||
<% paragraph_options_form_for "Experiment Conversion Options", :experiment do |f| -%> | ||
<%= f.select :type, @options.class.type_options, :vertical => true %> | ||
<%= f.select :experiment_id, @options.experiment_options, {}, :vertical => true, :onchange => 'updateExperimentJS();' %> | ||
<%= f.text_field :delay_for, :vertical => true %> | ||
|
||
<tr class="vertical"><td colspan="2" class="label_vertical"> <label for="experiment_manual_js"><%= 'Manual script (readonly)'.t %></label></td></tr> | ||
<tr> | ||
<td colspan="2" class="data_vertical text_area_control" nowrap="1"> | ||
<%= text_area_tag :experiment_manual_js, @options.manual_js, :cols => 50, :rows => 2, :readonly => true %> | ||
</td> | ||
</tr> | ||
<% end -%> | ||
|
||
<script> | ||
updateExperimentJS = function() { | ||
var experiment_id = $('experiment_experiment_id').value; | ||
if(experiment_id) { | ||
$('experiment_manual_js').value = "onclick=\"WebivaExperiment.finished(" + experiment_id + ");\""; | ||
} else { | ||
$('experiment_manual_js').value = ""; | ||
} | ||
}; | ||
|
||
</script> | ||
|
||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters