2009-09-15 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_alerts.js: fix the id for access to jquery in the field3. * godmode/alerts/configure_alert_action.php: fix the id for access to jquery in the event keyup. Fixes: 2845692 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
12ff422a13
commit
e9779f4dba
|
@ -1,3 +1,11 @@
|
|||
2009-09-15 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/javascript/pandora_alerts.js: fix the id for access to jquery
|
||||
in the field3.
|
||||
* godmode/alerts/configure_alert_action.php: fix the id for access to jquery
|
||||
in the event keyup.
|
||||
Fixes: 2845692
|
||||
|
||||
2009-09-15 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_db.php: add function "get_db_value_sql" for use in
|
||||
|
|
|
@ -113,6 +113,6 @@ $(document).ready (function () {
|
|||
|
||||
$("#text-field1").keyup (render_command_preview);
|
||||
$("#text-field2").keyup (render_command_preview);
|
||||
$("#text-field3").keyup (render_command_preview);
|
||||
$("#textarea_field3").keyup (render_command_preview);
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -9,7 +9,7 @@ function parse_alert_command (command) {
|
|||
re = /_FIELD2_/gi;
|
||||
command = command.replace (re, "\""+value+"\"");
|
||||
|
||||
value = $("#text-field3").attr ("value");
|
||||
value = $("#textarea_field3").val();
|
||||
re = /_FIELD3_/gi;
|
||||
command = command.replace (re, "\""+value+"\"");
|
||||
|
||||
|
|
Loading…
Reference in New Issue