~ubuntu-branches/ubuntu/jaunty/moodle/jaunty

« back to all changes in this revision

Viewing changes to theme/chameleon/ui/chameleon_js.php

  • Committer: Bazaar Package Importer
  • Author(s): Jordan Mantha, Matt Oquist
  • Date: 2009-02-25 15:16:22 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090225151622-0ekt1liwhv2obfza
Tags: 1.9.4.dfsg-0ubuntu1
* Merge with Debian git (Closes LP: #322961, #239481, #334611):
  - use Ubuntu's smarty lib directory for linking
  - use internal yui library 
  - add update-notifier support back in

[Matt Oquist]
  * renamed prerm script
  * significantly rewrote postinst and other maintainer scripts to improve
    user experience and package maintainability
    (Closes LP: #225662, #325450, #327843, #303078, #234609)

Show diffs side-by-side

added added

removed removed

Lines of Context:
302
302
            if (!CSS.__remoteSaveRequired) {
303
303
                UI.statusMsg('There are no changes that need saving!', 'chameleon-notice');
304
304
                return;
305
 
            }   
 
305
            }
306
306
        
307
307
            var css = CSS.toString(CSS.__localCSS);
308
308
 
596
596
            var hasBorder = false;
597
597
            var col = false;
598
598
            var importantBorders = [];
599
 
                  
 
599
 
600
600
            var dec = '{\n';
601
601
            for (var prop in css) {
602
602
                
1775
1775
            var pseudoClasses = ['link', 'active', 'visited', 'hover', 'focus'];
1776
1776
 
1777
1777
            while (n--) {
1778
 
                  var row = n % 2;
1779
 
                
 
1778
                var row = n % 2;
 
1779
 
1780
1780
                var item = Util.createElement('li');
1781
1781
                item.className = 'row' + row;
1782
1782
                var tag = Util.createElement('span', 'chameleon-tag-name-' + n);