forked from phpmyadmin/phpmyadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Factored out the JS for the editor of Routines, Triggers and Events a…
…nd moved it into a namespace.
- Loading branch information
Showing
10 changed files
with
360 additions
and
358 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,18 @@ | ||
/* vim: set expandtab sw=4 ts=4 sts=4: */ | ||
|
||
/** | ||
* What type of item the editor is for. | ||
*/ | ||
RTE.editor = 'event'; | ||
|
||
/** | ||
* Attach Ajax event handlers for the "Change event type" | ||
* functionality in the events editor. | ||
* | ||
* @see $cfg['AjaxEnable'] | ||
*/ | ||
$(document).ready(function () { | ||
$('select[name=item_type]').live('change', function() { | ||
$('.recurring_event_row, .onetime_event_row').toggle(); | ||
}); // end $.live() | ||
}); // end of $(document).ready() |
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
/* vim: set expandtab sw=4 ts=4 sts=4: */ | ||
|
||
/** | ||
* What type of item the editor is for. | ||
*/ | ||
RTE.editor = 'trigger'; |
Large diffs are not rendered by default.
Oops, something went wrong.
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