diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-08-06 11:21:18 -0700 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-06 11:21:18 -0700 | 
| commit | 7ea05eacd7b8bd18d817996c5240b33b2a79fd18 (patch) | |
| tree | 34d184c0108a905a9ddb8fd9dc8d944446257987 /themes/default | |
| parent | cd5c99668bf578561d978c2549330a338b775199 (diff) | |
| parent | 7ed15ea481565b1364573a814c0529adaf9f2eb7 (diff) | |
Merge branch 'master' of git://github.com/talmdal/gallery3 into talmdal_branch
Diffstat (limited to 'themes/default')
| -rw-r--r-- | themes/default/js/ui.init.js | 5 | ||||
| -rw-r--r-- | themes/default/views/page.html.php | 2 | 
2 files changed, 1 insertions, 6 deletions
diff --git a/themes/default/js/ui.init.js b/themes/default/js/ui.init.js index 11cd06ed..ff76c79c 100644 --- a/themes/default/js/ui.init.js +++ b/themes/default/js/ui.init.js @@ -34,10 +34,7 @@ $(document).ready(function() {    // Initialize dialogs    $(".gMenuLink").addClass("gDialogLink");    $("#gLoginLink").addClass("gDialogLink"); -  var dialogLinks = $(".gDialogLink"); -  for (var i=0; i < dialogLinks.length; i++) { -    $(dialogLinks[i]).bind("click", handleDialogEvent); -  } +  $(".gDialogLink").bind("click", handleDialogEvent);    // Initialize view menu    if ($("#gViewMenu").length) { diff --git a/themes/default/views/page.html.php b/themes/default/views/page.html.php index 5865e4cc..66282bae 100644 --- a/themes/default/views/page.html.php +++ b/themes/default/views/page.html.php @@ -49,8 +49,6 @@      <?= $theme->script("jquery.form.js") ?>      <?= $theme->script("jquery-ui.js") ?>      <?= $theme->script("gallery.common.js") ?> -    <? /* Themes can override this to provide custom refresh handling */ ?> -    <?= $theme->script("gallery.reload.js") ?>      <? /* MSG_CANCEL is required by gallery.dialog.js */ ?>      <script type="text/javascript">      var MSG_CANCEL = "<?= t('Cancel') ?>";  | 
