summaryrefslogtreecommitdiff
path: root/lib/scripts
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2013-03-30 23:31:41 +0100
committerMichael Hamann <michael@content-space.de>2013-03-30 23:33:16 +0100
commitbad7fb67d7e2a6939d7e6de1779100970d41b600 (patch)
treefdf8dfa13f3a63c4995a7f4353fc0a24c7db9d4b /lib/scripts
parent8f989436768f021725a023c5ae7efae150586d0c (diff)
downloadrpg-bad7fb67d7e2a6939d7e6de1779100970d41b600.tar.gz
rpg-bad7fb67d7e2a6939d7e6de1779100970d41b600.tar.bz2
Add missing jQuery-UI image and update update script
For just one image another syntax was used, this fixes the update script to also fetch this image.
Diffstat (limited to 'lib/scripts')
-rw-r--r--lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gifbin0 -> 1738 bytes
-rwxr-xr-xlib/scripts/jquery/update.sh2
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gif b/lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gif
new file mode 100644
index 000000000..d441f75eb
--- /dev/null
+++ b/lib/scripts/jquery/jquery-ui-theme/images/animated-overlay.gif
Binary files differ
diff --git a/lib/scripts/jquery/update.sh b/lib/scripts/jquery/update.sh
index 3bc2c761e..749b0f4e2 100755
--- a/lib/scripts/jquery/update.sh
+++ b/lib/scripts/jquery/update.sh
@@ -19,7 +19,7 @@ wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.js -O jq
# load the smoothness theme
mkdir -p jquery-ui-theme/images
wget -nv -qO- https://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/jquery-ui.css | sed "s/font-family:[^;]*;//" > jquery-ui-theme/smoothness.css
-images=`gawk 'match($0, /url\((images\/[^\)]+)\)/, m) { print m[1] }' jquery-ui-theme/smoothness.css`
+images=`gawk 'match($0, /url\("?(images\/[^\)"]+)"?\)/, m) { print m[1] }' jquery-ui-theme/smoothness.css`
for img in $images
do
wget -nv https://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/smoothness/$img -O jquery-ui-theme/$img