jQuery -> $
This commit is contained in:
@@ -1719,7 +1719,7 @@ $(document).ready(function(){
|
|||||||
$(".sql").html("<span class=\"syntax\">"+$oldText+"</span>");
|
$(".sql").html("<span class=\"syntax\">"+$oldText+"</span>");
|
||||||
});
|
});
|
||||||
|
|
||||||
jQuery('.sqlbutton').click(function(evt){
|
$('.sqlbutton').click(function(evt){
|
||||||
insertQuery(evt.target.id);
|
insertQuery(evt.target.id);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
@@ -177,17 +177,17 @@ function fast_filter(value){
|
|||||||
* Clears fast filter.
|
* Clears fast filter.
|
||||||
*/
|
*/
|
||||||
function clear_fast_filter() {
|
function clear_fast_filter() {
|
||||||
var elm = jQuery('#NavFilter input');
|
var elm = $('#NavFilter input');
|
||||||
elm.val('');
|
elm.val('');
|
||||||
fast_filter('');
|
fast_filter('');
|
||||||
elm.focus();
|
elm.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Performed on load */
|
/* Performed on load */
|
||||||
jQuery(document).ready(function(){
|
$(document).ready(function(){
|
||||||
/* Display filter */
|
/* Display filter */
|
||||||
jQuery('#NavFilter').css('display', 'inline');
|
$('#NavFilter').css('display', 'inline');
|
||||||
jQuery('#clear_fast_filter').click(clear_fast_filter);
|
$('#clear_fast_filter').click(clear_fast_filter);
|
||||||
jQuery('#fast_filter').focus(function (evt) {evt.target.select();});
|
$('#fast_filter').focus(function (evt) {evt.target.select();});
|
||||||
jQuery('#fast_filter').keyup(function (evt) {fast_filter(evt.target.value);});
|
$('#fast_filter').keyup(function (evt) {fast_filter(evt.target.value);});
|
||||||
});
|
});
|
||||||
|
@@ -42,7 +42,7 @@ function setURLHash(hash) {
|
|||||||
* Handler for changing url according to the hash part, which is updated
|
* Handler for changing url according to the hash part, which is updated
|
||||||
* on each page to allow bookmarks.
|
* on each page to allow bookmarks.
|
||||||
*/
|
*/
|
||||||
jQuery(document).ready(function(){
|
$(document).ready(function(){
|
||||||
/* Don't do anything if we're not root Window */
|
/* Don't do anything if we're not root Window */
|
||||||
if (window.parent != window && window.parent.setURLHash) {
|
if (window.parent != window && window.parent.setURLHash) {
|
||||||
return;
|
return;
|
||||||
|
@@ -100,7 +100,7 @@ if (! empty($_SESSION['debug'])) {
|
|||||||
<?php
|
<?php
|
||||||
if (empty($GLOBALS['error_message'])) {
|
if (empty($GLOBALS['error_message'])) {
|
||||||
?>
|
?>
|
||||||
jQuery(document).ready(function(){
|
$(document).ready(function(){
|
||||||
// updates current settings
|
// updates current settings
|
||||||
if (window.parent.setAll) {
|
if (window.parent.setAll) {
|
||||||
window.parent.setAll('<?php
|
window.parent.setAll('<?php
|
||||||
|
Reference in New Issue
Block a user