2009-11-04 02:45:56 +00:00
|
|
|
<div style="overflow: hidden">
|
|
|
|
<div id="ordering-zoom-slider-holder">
|
|
|
|
<div id="ordering-zoom-slider">
|
|
|
|
<div id="ordering-zoom-handle"></div>
|
|
|
|
</div>
|
|
|
|
<a href="#" id="ordering-refresh"></a>
|
2009-11-03 12:55:08 +00:00
|
|
|
</div>
|
|
|
|
|
2009-11-04 02:45:56 +00:00
|
|
|
<input type="hidden" name="cp[comic_order]" id="cp-comic-order" />
|
|
|
|
<div id="comic-ordering-holder">
|
|
|
|
<?php include('_comic-image-ordering-sorters.inc') ?>
|
|
|
|
</div>
|
2009-11-03 12:55:08 +00:00
|
|
|
|
2009-11-04 02:45:56 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
(function() {
|
|
|
|
$('ordering-refresh').observe('click', function(e) {
|
|
|
|
Event.stop(e);
|
2009-11-17 01:24:19 +00:00
|
|
|
|
2009-11-04 02:45:56 +00:00
|
|
|
new Ajax.Updater('comic-ordering-holder', ComicPressAdmin.ajax_uri, {
|
2009-11-03 12:55:08 +00:00
|
|
|
method: 'post',
|
|
|
|
parameters: {
|
|
|
|
'cp[_nonce]': ComicPressAdmin.nonce,
|
2009-11-17 01:24:19 +00:00
|
|
|
'cp[_action_nonce]': '<?php echo esc_js(wp_create_nonce('comicpress-refresh-ordering')) ?>',
|
2009-11-04 02:45:56 +00:00
|
|
|
'cp[action]': 'refresh-ordering',
|
2009-11-17 01:24:19 +00:00
|
|
|
'cp[post_id]': <?php echo esc_js($uploading_iframe_ID) ?>
|
2009-11-04 02:45:56 +00:00
|
|
|
},
|
|
|
|
evalScripts: true,
|
|
|
|
onSuccess: function() {
|
|
|
|
new Effect.Highlight($('comic-ordering-holder'));
|
2009-11-03 12:55:08 +00:00
|
|
|
}
|
|
|
|
});
|
2009-11-04 02:45:56 +00:00
|
|
|
});
|
|
|
|
}())
|
|
|
|
</script>
|
2009-11-14 18:56:54 +00:00
|
|
|
</div>
|